Added Games

This commit is contained in:
2025-08-22 22:50:46 +02:00
parent 93637bf780
commit 4ea6836ca8
7 changed files with 949 additions and 15 deletions

View File

@@ -1,7 +1,14 @@
<nav>
<a href="/">home</a>
<a href="/about">about</a>
</nav>
<script lang="ts">
import games from '$lib/games/lanparty';
</script>
<h1>home</h1>
<p>this is the home page.</p>
<h1 class="m-4 mb-8 text-7xl font-bold">Jeopardy</h1>
<div class="flex flex-col space-y-4">
{#each games as game}
<a
class="ms-4 me-4 rounded-xl border-2 p-4 hover:cursor-pointer hover:bg-emerald-200"
href="/{game.name.toLocaleLowerCase().replaceAll(' ', '_')}">{game.name}</a
>
{/each}
</div>

View File

@@ -0,0 +1 @@
<h1>This is Game ...</h1>

View File

@@ -1,7 +0,0 @@
<nav>
<a href="/">home</a>
<a href="/about">about</a>
</nav>
<h1>about</h1>
<p>This is the about section</p>