From 130f64be02326e7b9d43638f3db8c6c3a86f846b Mon Sep 17 00:00:00 2001
From: Matt Strapp <matt@mattstrapp.net>
Date: Fri, 20 Oct 2023 18:22:01 -0500
Subject: change URL

Signed-off-by: Matt Strapp <matt@mattstrapp.net>
---
 app/src/lib/components/Navigation.svelte | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

(limited to 'app/src/lib/components/Navigation.svelte')

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"
-- 
cgit v1.2.3

