Skip to content

Commit 6f7aff5

Browse files
committed
remove base path from nav links
1 parent e8a86af commit 6f7aff5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

website/src/components/NavMenu.svelte

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@
1212
<ul class="flex gap-6 text-lg">
1313
{#each navLinks as link}
1414
<li>
15-
<a
16-
class="text-white font-bold"
17-
href={`${import.meta.env.BASE_URL}${link.path}`}
18-
>
15+
<a class="text-white font-bold" href={link.path}>
1916
{link.title}
2017
</a>
2118
</li>
@@ -47,7 +44,7 @@
4744
<li>
4845
<a
4946
class="text-white text-3xl font-bold font-serif"
50-
href={`${import.meta.env.BASE_URL}${link.path}`}
47+
href={link.path}
5148
onclick={toggleMenu}
5249
>
5350
{link.title}

0 commit comments

Comments
 (0)