Nav links navigate to homepage sections when on sub-pages

Fixkamo-marketing
Shipped
March 31, 2026 at 5:54 PM UTC
Author
Kamo
Commit
4d356d6

- Desktop: ScrollSpyNav now accepts baseHref prop; on sub-pages it navigates to /{hash} instead of trying to scroll to non-existent elements - Mobile: menu links prefixed with / when not on homepage via getNavHref() - Uses usePathname to detect current page

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing