Skip to content

Commit

Permalink
fix: navbar route selector
Browse files Browse the repository at this point in the history
  • Loading branch information
youwen5 committed May 14, 2024
1 parent b9246c1 commit 2f100da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/Navbar/Navbar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<a
href="/blog"
class="text-lg border-b-4 sm:text-xl md:text-2xl font-medium text-primary px-2 py-1 rounded-b-sm rounded-t-md hover:bg-zinc-200 dark:hover:bg-zinc-800 transition-all duration-300 border-b-secondary"
class:selected={current === 'blog'}>Blog</a
class:selected={current === 'blog' || current === 'blogpost'}>Blog</a
>
<ThemePicker let:builder>
<Button builders={[builder]} variant="outline" size="icon" class="my-1">
Expand Down

0 comments on commit 2f100da

Please sign in to comment.