Skip to content

Commit

Permalink
Fix routes
Browse files Browse the repository at this point in the history
  • Loading branch information
jackreimers committed Jan 21, 2024
1 parent 78f4a48 commit c02d3fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/lib/components/layout/header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@

<Button
onClick={() => {
routeTo('blog');
routeTo('/blog');
}}
classes="group flex text-left text-2xl font-semibold"
>
Expand All @@ -125,7 +125,7 @@

<Button
onClick={() => {
routeTo('projects');
routeTo('/projects');
}}
classes="group flex text-left text-2xl font-semibold"
>
Expand All @@ -138,7 +138,7 @@

<Button
onClick={() => {
routeTo('about');
routeTo('/about');
}}
classes="group flex text-left text-2xl font-semibold"
>
Expand Down
6 changes: 3 additions & 3 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</div>
<div class="flex flex-col gap-4">
<Button
href="blog"
href="/blog"
classes="group flex bg-gray-100 px-3.5 py-2.5 hover:bg-gray-200 sm:px-5 sm:py-4 md:px-6 md:py-5"
>
<span class="flex flex-1 flex-col">
Expand All @@ -37,7 +37,7 @@
</span>
</Button>
<Button
href="projects"
href="/projects"
classes="group flex bg-gray-100 px-3.5 py-2.5 hover:bg-gray-200 sm:px-5 sm:py-4 md:px-6 md:py-5"
>
<span class="flex flex-1 flex-col">
Expand All @@ -51,7 +51,7 @@
</span>
</Button>
<Button
href="about"
href="/about"
classes="group flex bg-gray-100 px-3.5 py-2.5 hover:bg-gray-200 sm:px-5 sm:py-4 md:px-6 md:py-5"
>
<span class="flex flex-1 flex-col">
Expand Down

0 comments on commit c02d3fe

Please sign in to comment.