fix: highlight announcements button

This commit is contained in:
madkarmaa
2025-11-11 15:08:26 +01:00
parent ea79d5db3b
commit 11b9365299

View File

@@ -27,7 +27,11 @@
</div>
<div class="nav-group">
<a href="/announcements" class="rounded nav-button unselectable"><Announcement /></a>
<a
href="/announcements"
class="rounded nav-button unselectable"
class:active={page.url.pathname === '/announcements'}><Announcement /></a
>
<button class="rounded nav-button unselectable" type="button"><Gear /></button>
</div>
</nav>