diff --git a/components/landing/Landing.tsx b/components/landing/Landing.tsx index 8f82e6c..8df85a1 100644 --- a/components/landing/Landing.tsx +++ b/components/landing/Landing.tsx @@ -452,7 +452,7 @@ function LGap() { function LFail() { return ( - + Why it matters @@ -501,7 +501,7 @@ function LFail() { function LRead() { return ( - + The assessment diff --git a/components/layout/SiteHeader.tsx b/components/layout/SiteHeader.tsx index 11556d5..93934f1 100644 --- a/components/layout/SiteHeader.tsx +++ b/components/layout/SiteHeader.tsx @@ -83,12 +83,11 @@ type SiteHeaderProps = { /** Shared site header — the landing nav, reused across the landing, assessment, and methodology. The "Assess your validator" CTA hides on /assess (you're - already there); "How it works" jumps to the landing's section from inner pages. */ + already there); "How it works" links to the landing's #how section (via + next/link so it carries the basePath). */ export function SiteHeader({ contentWidth = 1140 }: SiteHeaderProps) { const router = useRouter(); - const onLanding = router.pathname === "/"; const onAssess = router.pathname === "/assess"; - const howHref = onLanding ? "#how" : "/#how"; return ( @@ -107,7 +106,7 @@ export function SiteHeader({ contentWidth = 1140 }: SiteHeaderProps) { - + How it works Methodology