mirror of
https://github.com/wireadmin/wireadmin
synced 2025-04-16 21:41:55 +00:00
21 lines
657 B
Svelte
21 lines
657 B
Svelte
<script lang="ts">
|
|
import { cn } from '$lib/utils';
|
|
import PageFooter from '$lib/components/page/PageFooter.svelte';
|
|
import PageHeader from '$lib/components/page/PageHeader.svelte';
|
|
|
|
export let rootClass: string | undefined = undefined;
|
|
let className: string | undefined = undefined;
|
|
export let showLogout: boolean = false;
|
|
export { className as class };
|
|
</script>
|
|
|
|
<div class="w-full min-h-screen flex justify-center px-2 md:px-6 py-2">
|
|
<div class={cn("w-full mx-auto max-w-3xl space-y-3.5", rootClass)}>
|
|
<PageHeader {showLogout} />
|
|
<main class={cn("py-2", className)}>
|
|
<slot />
|
|
</main>
|
|
<PageFooter />
|
|
</div>
|
|
</div>
|