diff options
author | Matt Strapp <matt@mattstrapp.net> | 2023-09-15 13:54:56 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2023-09-15 13:56:50 -0500 |
commit | 2074c9c732f6d279f5153688b9e33bdc8c9c7674 (patch) | |
tree | 0ae640f9966cc8ae74abe28a1520b23ac610c604 /app/src/lib/svelte | |
parent | Create dependabot.yml (diff) | |
download | trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar.gz trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar.bz2 trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar.lz trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar.xz trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar.zst trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.zip |
Here goes nothing!
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'app/src/lib/svelte')
-rw-r--r-- | app/src/lib/svelte/Navigation.svelte | 11 |
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> |