feat(web): setup basic svelte-tailwind webapp

This commit is contained in:
2026-08-20 14:49:13 +02:00
parent 90ccd230e4
commit f30ac14d5d
9 changed files with 477 additions and 24 deletions
+33
View File
@@ -0,0 +1,33 @@
<script lang="ts">
let count = $state(0);
function increment() {
count += 1;
}
</script>
<div class="min-h-screen bg-zinc-950 text-zinc-100 flex items-center justify-center">
<div class="text-center">
<h1 class="mb-6 text-3xl font-bold">
svelte tests
</h1>
<button
onclick={increment}
class="
rounded-lg
bg-blue-600
px-5 py-2.5
font-semibold
text-white
shadow-lg
transition
hover:bg-blue-500
active:scale-95
"
>
Clicked {count} {count === 1 ? "time" : "times"}
</button>
</div>
</div>