mode-watcher
This commit is contained in:
parent
4e3aceed6a
commit
f4b092e15e
5 changed files with 38 additions and 3 deletions
|
|
@ -1,9 +1,12 @@
|
|||
<script lang="ts">
|
||||
import './layout.css';
|
||||
import '../app.css';
|
||||
import favicon from '$lib/assets/favicon.svg';
|
||||
import { ModeWatcher } from "mode-watcher";
|
||||
|
||||
let { children } = $props();
|
||||
</script>
|
||||
|
||||
<svelte:head><link rel="icon" href={favicon} /></svelte:head>
|
||||
|
||||
<ModeWatcher />
|
||||
{@render children()}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
<h1>Welcome to SvelteKit</h1>
|
||||
<p>Visit <a href="https://svelte.dev/docs/kit">svelte.dev/docs/kit</a> to read the documentation</p>
|
||||
<div class="flex min-h-screen flex-col items-center justify-center gap-2">
|
||||
<h1>test</h1>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue