Anvil/src/routes/+layout.svelte

51 lines
1.3 KiB
Svelte
Raw Normal View History

<script lang='ts'>
// The ordering of these imports is critical to your app working properly
2023-05-22 12:30:47 +03:00
//import '@skeletonlabs/skeleton/themes/theme-skeleton.css';
import '../theme.postcss';
// If you have source.organizeImports set to true in VSCode, then it will auto change this ordering
import '@skeletonlabs/skeleton/styles/all.css';
// Most of your app wide CSS should be put in this file
import '../app.postcss';
import { AppShell, AppBar } from '@skeletonlabs/skeleton';
</script>
<!-- App Shell -->
<AppShell>
<svelte:fragment slot="header">
<!-- App Bar -->
<AppBar>
<svelte:fragment slot="lead">
2023-05-22 14:36:14 +03:00
<strong class="text-xl">Anvil</strong>
</svelte:fragment>
<svelte:fragment slot="trail">
<a
class="btn btn-sm variant-ghost-surface"
2023-05-03 17:41:33 +03:00
href="https://matrix.to/#/#general-forgefed:matrix.batsense.net"
target="_blank"
rel="noreferrer"
>
2023-05-03 17:41:33 +03:00
Matrix
</a>
<a
class="btn btn-sm variant-ghost-surface"
2023-05-03 17:41:33 +03:00
href="https://forgefed.org"
target="_blank"
rel="noreferrer"
>
2023-05-03 17:41:33 +03:00
ForgeFed
</a>
<a
class="btn btn-sm variant-ghost-surface"
2023-05-03 17:41:33 +03:00
href="https://codeberg.org/anvil/anvil"
target="_blank"
rel="noreferrer"
>
2023-05-03 17:41:33 +03:00
Code
</a>
</svelte:fragment>
</AppBar>
</svelte:fragment>
<!-- Page Route Content -->
<slot />
</AppShell>