diff --git a/components/Layout.tsx b/components/Layout.tsx index 892fe5a76..f4cb20dba 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -137,7 +137,10 @@ const MainNavLink = ({ className?: string; }) => { const router = useRouter(); - const isActiveNav = router.asPath.startsWith(uri); + const isActiveNav = + router.asPath.startsWith(uri) || + (uri === '/docs' && router.asPath.startsWith('/overview')) || + (uri === '/specification' && router.asPath.startsWith('/draft')); return (