Switch layout to use runes syntax

This commit is contained in:
Neshura 2024-04-29 07:10:44 +02:00
parent 9964b08133
commit fc382d6876
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -1,10 +1,15 @@
<svelte:options runes={true} />
<script> <script>
import "../app.pcss"; import "../app.pcss";
let { children } = $props();
</script> </script>
<div class="h-full flex flex-col"> <div class="h-full flex flex-col">
<div class="border border-2 p-1"> <div class="border border-2 p-1">
<h1>Navbar</h1> <h1>Navbar</h1>
</div> </div>
<slot></slot>
{@render children()}
</div> </div>