From 6dce216ed4bbf3984901d3ad40c94fe51a2cbd71 Mon Sep 17 00:00:00 2001 From: cidungfrog27 Date: Fri, 24 Oct 2025 13:31:31 +0200 Subject: [PATCH 1/3] moved hackathon box to the top of sideParagraph --- src/lib/SideParagraph.svelte | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/SideParagraph.svelte b/src/lib/SideParagraph.svelte index 073d779..8476448 100644 --- a/src/lib/SideParagraph.svelte +++ b/src/lib/SideParagraph.svelte @@ -1,4 +1,9 @@
+
+

+ Join our first CheerpJ Hackathon in the second half of November, exploring how CheerpJ can be applied to real-world science and research projects, with a £500 prize awaiting the winning team. Join our Discord for further updates! +

+

What is this

@@ -11,9 +16,4 @@ CheerpJ is a Java Virtual Machine written in WebAssembly that runs entirely in your browser. It can execute any Java application without modification and without requiring the source code. This demo demonstrates those capabilities by running an older version (1.2.5) of Minecraft and LWJGL entirely in the browser.

-
-

- Join our first CheerpJ Hackathon in the second half of November, exploring how CheerpJ can be applied to real-world science and research projects, with a £500 prize awaiting the winning team. Join our Discord for further updates! -

-
From 64a143385fce825edfb835b9d476727cf7041948 Mon Sep 17 00:00:00 2001 From: cidungfrog27 Date: Fri, 24 Oct 2025 14:34:55 +0200 Subject: [PATCH 2/3] moved the hackathon box to the top of the page, as well as give it the minecrafter font and a background gradient to make it pop a bit more --- src/app.css | 15 +++++++++++---- src/lib/HackathonInfo.svelte | 7 +++++++ src/lib/SideParagraph.svelte | 5 ----- src/routes/+page.svelte | 2 ++ 4 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 src/lib/HackathonInfo.svelte diff --git a/src/app.css b/src/app.css index b8ae199..3efbd7f 100644 --- a/src/app.css +++ b/src/app.css @@ -34,7 +34,7 @@ main { text-shadow: 0px 5px 4px black; font-size: clamp(0.5rem, 2vw + 2rem, 4rem); margin: 0 0 2rem 0; - padding: 0; + padding-top: 50px; } main a { @@ -69,16 +69,23 @@ main a:hover { } .hack-info { - border: 5px groove #fe900d; + border: 8px groove #fe900d; margin: 0; padding: 0; + width: 75%; + background: linear-gradient(90deg, rgba(224, 119, 119, 0) 50%, rgb(22, 11, 1) 75%); } .hack-info p { text-align: center; - padding: 5px; - margin: 0; + padding: 20px; + margin: 2px; + color: white; box-sizing: border-box; + /* font-weight: bold; */ + /* font-size: large; */ + font-family: Minecrafter; + } .main-container { diff --git a/src/lib/HackathonInfo.svelte b/src/lib/HackathonInfo.svelte new file mode 100644 index 0000000..66468a0 --- /dev/null +++ b/src/lib/HackathonInfo.svelte @@ -0,0 +1,7 @@ +
+

+ Join our first CheerpJ Hackathon + in the second half of November, exploring how CheerpJ can be applied to real-world science and research projects, with a £500 prize awaiting the winning team. Join our Discord for further updates! +

+ +
\ No newline at end of file diff --git a/src/lib/SideParagraph.svelte b/src/lib/SideParagraph.svelte index 8476448..017494c 100644 --- a/src/lib/SideParagraph.svelte +++ b/src/lib/SideParagraph.svelte @@ -1,9 +1,4 @@
-
-

- Join our first CheerpJ Hackathon in the second half of November, exploring how CheerpJ can be applied to real-world science and research projects, with a £500 prize awaiting the winning team. Join our Discord for further updates! -

-

What is this

diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index c66f13a..295b589 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -5,6 +5,7 @@ import GameDisplay from '$lib/GameDisplay.svelte'; import Footer from "$lib/Footer.svelte"; import SideParagraph from '$lib/SideParagraph.svelte'; + import HackathonInfo from '$lib/HackathonInfo.svelte';

@@ -14,6 +15,7 @@
+

BROWSERCRAFT

From f7b03ca2c05733415b137a4ffe3c76e3d0f6eb21 Mon Sep 17 00:00:00 2001 From: cidungfrog27 Date: Fri, 24 Oct 2025 14:41:33 +0200 Subject: [PATCH 3/3] added dependency install file to gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index a2b6b6d..756f229 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ vite.config.js.timestamp-* vite.config.ts.timestamp-* .vscode +pnpm-lock.yaml