fix: navbar route selector

This commit is contained in:
Youwen Wu 2024-05-13 17:55:39 -07:00
parent b9246c137e
commit 2f100dac33
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -64,7 +64,7 @@
<a <a
href="/blog" 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="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> <ThemePicker let:builder>
<Button builders={[builder]} variant="outline" size="icon" class="my-1"> <Button builders={[builder]} variant="outline" size="icon" class="my-1">