change main navbar

This commit is contained in:
Shahed Nasser
2025-03-10 17:19:23 +02:00
parent 0c71bce1e2
commit 0ba63ac29e
17 changed files with 260 additions and 152 deletions
@@ -59,7 +59,7 @@ export const MainNavProvider = ({
return false
}
const isItemActive = currentUrl.startsWith(item.path)
const isItemActive = currentUrl.startsWith(item.link)
if (isItemActive && item.useAsFallback && fallbackIndex === undefined) {
fallbackIndex = index