mirror of
https://github.com/Djeeberjr/fw-anwesenheit.git
synced 2026-04-30 18:49:09 +00:00
switched to svelte 5
front gets a bit to complex to do in vanilla
This commit is contained in:
23
web/src/App.svelte
Normal file
23
web/src/App.svelte
Normal 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>
|
||||
Reference in New Issue
Block a user