pages-landing-page/src/routes/+layout.svelte
Sam Therapy fa4831709a
Use SvelteKit instead of stealing Codeberg
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2024-03-15 23:25:07 +01:00

19 lines
847 B
Svelte

<script lang="ts">
import '../app.postcss';
import { AppShell, AppBar } from '@skeletonlabs/skeleton';
</script>
<!-- App Shell -->
<AppShell>
<svelte:fragment slot="header">
<!-- App Bar -->
<AppBar gridColumns="grid-cols-3" slotDefault="place-self-center" slotTrail="place-content-end">
<svelte:fragment slot="lead"><strong class="text-xl uppercase">Froth Pages</strong></svelte:fragment>
<noscript><strong>Hey, you! This page is interactive and currently requires JavaScript!</strong> <br /> Want a non-JS version? Bother <a class="anchor" href="https://matrix.to/#/@samme:schizo.cafe">Sam</a> about it!</noscript>
<svelte:fragment slot="trail"><a class="anchor" href="https://git.froth.zone/sam/static-pages">Source Code</a></svelte:fragment>
</AppBar>
</svelte:fragment>
<!-- Page Route Content -->
<slot />
</AppShell>