diff --git a/src/components/layout/Nav.tsx b/src/components/layout/Nav.tsx index 4174c2f..b75701a 100644 --- a/src/components/layout/Nav.tsx +++ b/src/components/layout/Nav.tsx @@ -5,11 +5,13 @@ import { VariantToggle } from '../ui/VariantToggle'; import { handleAnchorClick } from '../../utils/scrollToHash'; /** - * Navigation of design B: part of the brand-red header (not sticky), white text, the CTA as a - * white block. The mobile menu (hamburger) is kept for small screens; years are not in the menu. + * Navigation of design B: part of the brand-red header, white text, the CTA as a white block + * (desktop only). Below the `md` breakpoint a hamburger opens an animated overlay menu with the + * section links; the "Start project" CTA is not repeated there (the hero has its own buttons). */ export function Nav() { const [isMenuOpen, setIsMenuOpen] = useState(false); + const sectionLinks = navLinks.filter((link) => !link.isCta); // Escape closes the mobile menu (keyboard users). useEffect(() => { @@ -27,35 +29,35 @@ export function Nav() { } return ( -