switched to svelte 5

front gets a bit to complex to do in vanilla
This commit is contained in:
2025-05-16 18:59:19 +02:00
parent bccf019c11
commit d764e9699b
14 changed files with 994 additions and 419 deletions

23
web/src/App.svelte Normal file
View File

@@ -0,0 +1,23 @@
<script lang="ts">
import IDTable from "./lib/IDTable.svelte";
</script>
<main
class="bg-gradient-to-br from-blue-100 to-indigo-200 min-h-screen flex flex-col items-center justify-start py-10"
>
<div class="text-center space-y-6 mb-10">
<h1 class="text-3xl sm:text-4xl font-bold text-gray-800">Anwesenheit</h1>
</div>
<a
class="px-6 py-3 text-lg font-semibold text-white bg-indigo-600 rounded-2xl shadow-md hover:bg-indigo-700 transition"
href="/api/csv"
download="anwesenheit.csv"
>
Download CSV
</a>
<div class="py-3">
<IDTable />
</div>
</main>