aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/lib
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-10-20 18:22:01 -0500
committerMatt Strapp <matt@mattstrapp.net>2023-10-20 18:27:51 -0500
commit130f64be02326e7b9d43638f3db8c6c3a86f846b (patch)
tree46c578edcc1b3e585ba63b3798d9a792a7100f3e /app/src/lib
parente (diff)
downloadtrinkets-130f64be02326e7b9d43638f3db8c6c3a86f846b.tar
trinkets-130f64be02326e7b9d43638f3db8c6c3a86f846b.tar.gz
trinkets-130f64be02326e7b9d43638f3db8c6c3a86f846b.tar.bz2
trinkets-130f64be02326e7b9d43638f3db8c6c3a86f846b.tar.lz
trinkets-130f64be02326e7b9d43638f3db8c6c3a86f846b.tar.xz
trinkets-130f64be02326e7b9d43638f3db8c6c3a86f846b.tar.zst
trinkets-130f64be02326e7b9d43638f3db8c6c3a86f846b.zip
change URL
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'app/src/lib')
-rw-r--r--app/src/lib/components/Navigation.svelte11
1 files changed, 6 insertions, 5 deletions
diff --git a/app/src/lib/components/Navigation.svelte b/app/src/lib/components/Navigation.svelte
index 2e5ba98..c895cbb 100644
--- a/app/src/lib/components/Navigation.svelte
+++ b/app/src/lib/components/Navigation.svelte
@@ -1,5 +1,6 @@
<script lang="ts">
import { page } from '$app/stores'
+ import { base } from "$app/paths";
import Icon from '@iconify/svelte'
import homeIcon from '@iconify/icons-carbon/home'
@@ -33,8 +34,8 @@
{/if}
</svelte:fragment>
<AppRailAnchor
- href="/"
- selected={$page.url.pathname === '/'}
+ href="{base}/"
+ selected={$page.url.pathname === base + '/'}
on:click={drawerClose}
title="Homepage"
>
@@ -44,8 +45,8 @@
Home!
</AppRailAnchor>
<AppRailAnchor
- href="/truncate"
- selected={$page.url.pathname === '/truncate'}
+ href="{base}/truncate"
+ selected={$page.url.pathname === base + '/truncate'}
on:click={drawerClose}
title="Truncate Files"
>
@@ -56,7 +57,7 @@
</AppRailAnchor>
<svelte:fragment slot="trail">
<AppRailAnchor
- href="https://github.com/rosstheross/rosstheross.github.io"
+ href="https://github.com/rosstheross/random-stuff"
rel="noreferrer"
on:click={drawerClose}
title="Source Code"