Update sidebar to the new page

This commit is contained in:
2026-09-24 19:25:15 +02:00
parent 88487064e1
commit 4ac73d8fa3
3 changed files with 81 additions and 44 deletions
@@ -9,7 +9,7 @@
let { user, class: klass = '' }: Props = $props();
const links = $derived(appNavLinks(user).filter((link) => link.primary));
const links = $derived(appNavLinks(user).filter((link) => link.inMobileTabs));
</script>
<nav
@@ -17,7 +17,7 @@
style="padding-bottom:calc(0.4375rem + var(--mf-safe-b))"
>
{#each links as link (link.href)}
{@const active = isNavActive(link.href)}
{@const active = isNavActive(link)}
<a
href={link.href}
aria-current={active ? 'page' : undefined}