renamed dir client to web

This commit is contained in:
2024-10-31 20:31:22 +05:30
parent ad57664a3e
commit e41d27cf97
24 changed files with 110 additions and 1070 deletions

View File

@@ -0,0 +1,6 @@
<script>
import "../app.css";
const { children } = $props();
</script>
{@render children()}

14
web/routes/+page.svelte Normal file
View File

@@ -0,0 +1,14 @@
<script>
import ArrowRightOnRect from "$svg/ArrowRightOnRect.svelte";
let count = $state(1);
setInterval(() => {
count++;
}, 1000);
</script>
<h1 class="w-6">Welcome to SvelteKit</h1>
<p>Tick: {count}</p>
<button class="btn btn-primary">Button</button>
<h1 class="text-3xl font-bold underline">Hello world!</h1>
<ArrowRightOnRect />