- Ya
- 31 Machi 2026, 18:51 UTC
- Mwandishi
- Kamo
- Ahadi ya
- 467befa
Root cause: Next.js 16 intercepts <a> tag clicks for client-side navigation. When navigating from homepage to sub-pages, the homepage's CSS context (Tailwind classes, Framer Motion styles) leaks into the sub-page and corrupts breadcrumb layout. Fixes: - Homepage footer links now use onClick with window.location.href to force a full page reload, bypassing Next.js soft navigation - PageHero rewritten with zero Tailwind classes and zero imports beyond React — every element uses only inline styles including the heading gradient, breadcrumb layout, SVG chevron, and link colors - Removed Link, ChevronRight, and all className usage from PageHero