aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/lib/svelte
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/lib/svelte')
-rw-r--r--app/src/lib/svelte/Navigation.svelte11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/src/lib/svelte/Navigation.svelte b/app/src/lib/svelte/Navigation.svelte
new file mode 100644
index 0000000..20c7d8b
--- /dev/null
+++ b/app/src/lib/svelte/Navigation.svelte
@@ -0,0 +1,11 @@
+<script lang="ts">
+ import { AppRail, AppRailAnchor } from '@skeletonlabs/skeleton';
+ import { page } from '$app/stores';
+</script>
+
+<AppRail>
+ <svelte:fragment slot="lead">
+ <AppRailAnchor href="/" selected={$page.url.pathname === '/'}>Home!</AppRailAnchor>
+ </svelte:fragment>
+ <AppRailAnchor href="/crc32" selected={$page.url.pathname === '/crc32'}>CRC32</AppRailAnchor>
+</AppRail>