Use resolve() for all internal hrefs and goto paths to ensure correct

routing
This commit is contained in:
2025-11-12 23:18:41 -03:00
parent a2451baafc
commit bd574aedc0
32 changed files with 168 additions and 136 deletions

View File

@@ -366,7 +366,7 @@
{@const isActive = currentPath.startsWith(s.link)}
<li class="rounded-xl">
<a
href={s.link}
href={resolve(s.link)}
aria-current={isActive ? 'page' : undefined}
class={getMenuClasses(isActive)}
>