2025-01-18 23:06:09 +02:00
|
|
|
<script lang="ts">
|
|
|
|
import '../app.css';
|
2025-01-21 15:22:19 +02:00
|
|
|
import '@fontsource-variable/smooch-sans';
|
|
|
|
|
|
|
|
import { ModeWatcher, toggleMode } from 'mode-watcher';
|
|
|
|
import { Button } from '$lib/components/ui/button/index.js';
|
|
|
|
import Sun from 'lucide-svelte/icons/sun';
|
|
|
|
import Moon from 'lucide-svelte/icons/moon';
|
|
|
|
|
2025-01-18 23:06:09 +02:00
|
|
|
let { children } = $props();
|
|
|
|
</script>
|
|
|
|
|
2025-01-21 15:22:19 +02:00
|
|
|
<ModeWatcher />
|
|
|
|
|
|
|
|
<header class="container absolute top-0 flex justify-between py-6">
|
|
|
|
<a href="/">
|
|
|
|
<img src="/favicon.svg" alt="Mihkel Martin Kasterpalu logo" class="h-10" />
|
|
|
|
</a>
|
|
|
|
<Button onclick={toggleMode} variant="outline" size="icon">
|
|
|
|
<Sun
|
|
|
|
class="h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"
|
|
|
|
/>
|
|
|
|
<Moon
|
|
|
|
class="absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"
|
|
|
|
/>
|
|
|
|
<span class="sr-only">Toggle theme</span>
|
|
|
|
</Button>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<div class="container flex min-h-screen flex-col items-center justify-center py-4">
|
|
|
|
<header class="font-title mb-24 flex flex-col items-center">
|
|
|
|
<h1 class="mb-1 scroll-m-20 text-6xl font-extrabold tracking-tight lg:text-7xl">Paku biiti</h1>
|
|
|
|
<p class="text-2xl font-semibold text-muted-foreground">
|
|
|
|
Lohista kokku õiged albumi <span class="text-red-600 dark:text-red-400">nimed</span>,
|
|
|
|
<span class="text-purple-600 dark:text-purple-400">artistid</span> ja
|
|
|
|
<span class="text-blue-600 dark:text-blue-400">pildid</span>.
|
2025-01-21 13:10:47 +02:00
|
|
|
</p>
|
|
|
|
</header>
|
2025-01-21 15:30:56 +02:00
|
|
|
<main class="w-full max-w-4xl">
|
2025-01-21 13:10:47 +02:00
|
|
|
{@render children()}
|
|
|
|
</main>
|
2025-01-21 11:42:52 +02:00
|
|
|
</div>
|