File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const footerLinks = {
2222 product: [
2323 { href: ' /features' , label: ' Features' },
2424 { href: ' /compare' , label: ' Compare' },
25- { href: ' /docs' , label: ' Documentation' },
25+ { href: ' /docs/user-guide/getting-started ' , label: ' Documentation' },
2626 ],
2727 resources: [
2828 { href: ' /docs/user-guide/getting-started' , label: ' Getting Started' },
Original file line number Diff line number Diff line change @@ -9,11 +9,12 @@ const navItems = [
99 { href: ' /' , label: ' Home' },
1010 { href: ' /features' , label: ' Features' },
1111 { href: ' /compare' , label: ' Compare' },
12- { href: ' /docs' , label: ' Docs ' },
12+ { href: ' /docs/user-guide/getting-started ' , label: ' Documentation ' },
1313];
1414
1515function isActive(href : string ): boolean {
1616 if (href === ' /' ) return currentPath === ' /' ;
17+ if (href .startsWith (' /docs/' )) return currentPath .startsWith (' /docs/' );
1718 return currentPath .startsWith (href );
1819}
1920---
You can’t perform that action at this time.
0 commit comments