aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/lib/svelte/Navigation.svelte
blob: 20c7d8b0783cc0bff0e9ff2b0c724d29fab3bf70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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>