KamoCRM

Force full page reload from homepage footer, pure inline styles on PageHero

Fixkamo-marketing
Shipped
31 மார்ச், 2026 அன்று 6:51 PM UTC
Author
Kamo
Commit
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

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing