From add7f54a85d8b673d404f39c44056a90c390b49e Mon Sep 17 00:00:00 2001 From: oozan <38402864+oozan@users.noreply.github.com> Date: Fri, 24 Jul 2026 19:36:05 +0300 Subject: [PATCH] fix(pages): add dedicated features route --- pages/src/App.tsx | 1 + pages/src/components/Navbar.tsx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/src/App.tsx b/pages/src/App.tsx index 765c37ad..d8d7bb46 100644 --- a/pages/src/App.tsx +++ b/pages/src/App.tsx @@ -21,6 +21,7 @@ const App: React.FC = () => { } /> + } /> } /> } /> } /> diff --git a/pages/src/components/Navbar.tsx b/pages/src/components/Navbar.tsx index 2ea18aac..d8e99f75 100644 --- a/pages/src/components/Navbar.tsx +++ b/pages/src/components/Navbar.tsx @@ -14,7 +14,7 @@ const LANG_OPTIONS: { value: Language; label: string }[] = [ ]; const navTabs = [ - { path: '/', labelKey: 'navbar.features' }, + { path: '/features', labelKey: 'navbar.features' }, { path: '/benchmark', labelKey: 'navbar.benchmark' }, { path: '/quickstart', labelKey: 'navbar.quickstart' }, { path: '/docs', labelKey: 'navbar.docs' }, @@ -80,7 +80,7 @@ const Navbar: React.FC = () => { {!isMobile && (
{navTabs.map((tab) => { - const isActive = tab.path === '/' ? currentPath === '/' : currentPath.startsWith(tab.path); + const isActive = currentPath.startsWith(tab.path); return (