Add initial codebase

This commit is contained in:
Leonardo Segala 2025-08-01 18:07:11 +02:00
parent 5fb2b8a791
commit 2bd81f859e
24 changed files with 2603 additions and 0 deletions

View file

@ -0,0 +1,9 @@
<script lang="ts">
import "../app.css"
let { children } = $props()
</script>
<div class="bg-red-500 w-full h-max">
{@render children()}
</div>

View file

@ -0,0 +1,12 @@
<script lang="ts">
import { onMount } from "svelte"
let text = $state("...")
onMount(async () => {
let res = await fetch("/api")
text = await res.text()
})
</script>
<h1>Welcome to SvelteKit</h1>
<p class="text-2xl text-red-500">{text}</p>