kammer/src/routes/+layout.svelte
Christopher Mühl 3d246c00ec chore: scaffold SvelteKit project with Capacitor and Tailwind
- SvelteKit 2 (Svelte 5) with TypeScript, static adapter (SPA mode)
- Capacitor config for iOS/Android (so.toph.solidhaus)
- Tailwind CSS v4 via Vite plugin
- All dependencies: idb, nanoid, bwip-js, jspdf, Automerge, Solid
- Route stubs: dashboard, scan, items, locations, labels, settings
- Type definitions and ID generator utility
- Project specification and ontology files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 14:50:10 +01:00

14 lines
372 B
Svelte

<script lang="ts">
import '../app.css';
import BottomNav from '$lib/components/BottomNav.svelte';
import { page } from '$app/stores';
let { children } = $props();
</script>
<div class="flex flex-col h-screen bg-slate-900 text-white">
<main class="flex-1 overflow-y-auto pb-16">
{@render children()}
</main>
<BottomNav currentPath={$page.url.pathname} />
</div>