Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ vite.config.js.timestamp-*
vite.config.ts.timestamp-*

.vscode
pnpm-lock.yaml
15 changes: 11 additions & 4 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down
7 changes: 7 additions & 0 deletions src/lib/HackathonInfo.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<div class="hack-info">
<p>
Join our first <a href="https://labs.leaningtech.com/cheerpj-hackathon" target="_blank">CheerpJ Hackathon</a>
in the second half of November, exploring how <b>CheerpJ</b> can be applied to real-world science and research projects, with a <b>£500</b> prize awaiting the winning team. Join our <a href="https://discord.leaningtech.com" target="_blank">Discord</a> for further updates!
</p>

</div>
5 changes: 0 additions & 5 deletions src/lib/SideParagraph.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,4 @@
<b>CheerpJ</b> 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.
</p>
</div>
<div class="hack-info">
<p>
Join our first <a href="https://labs.leaningtech.com/cheerpj-hackathon" target="_blank">CheerpJ Hackathon</a> in the second half of November, exploring how <b>CheerpJ</b> can be applied to real-world science and research projects, with a <b>£500</b> prize awaiting the winning team. Join our <a href="https://discord.leaningtech.com" target="_blank">Discord</a> for further updates!
</p>
</div>
</div>
2 changes: 2 additions & 0 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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';
</script>

<main>
Expand All @@ -14,6 +15,7 @@
<div class="gh-container">
<GhLink />
</div>
<HackathonInfo />
<h1 class="title">BROWSERCRAFT</h1>
<div class="main-container">
<GameDisplay />
Expand Down