first commit
This commit is contained in:
commit
e687b4437b
418 files changed
+33577
No files matched your search
@@ -0,0 +1,24 @@
|
||||
<script lang="ts">
|
||||
import type { Snippet } from 'svelte';
|
||||
import AppContent from '@/components/AppContent.svelte';
|
||||
import AppHeader from '@/components/AppHeader.svelte';
|
||||
import AppShell from '@/components/AppShell.svelte';
|
||||
import { Toaster } from '@/components/ui/sonner';
|
||||
import type { BreadcrumbItem } from '@/types';
|
||||
|
||||
let {
|
||||
breadcrumbs = [],
|
||||
children,
|
||||
}: {
|
||||
breadcrumbs?: BreadcrumbItem[];
|
||||
children?: Snippet;
|
||||
} = $props();
|
||||
</script>
|
||||
|
||||
<AppShell variant="header">
|
||||
<AppHeader {breadcrumbs} />
|
||||
<AppContent variant="header">
|
||||
{@render children?.()}
|
||||
</AppContent>
|
||||
<Toaster />
|
||||
</AppShell>
|
||||
Reference in new issue
Block a user