Skip to content

fix(landing): point header Features link at /#features#41

Merged
GuilhermeVozniak merged 1 commit into
mainfrom
fix/nav-features-anchor
May 23, 2026
Merged

fix(landing): point header Features link at /#features#41
GuilhermeVozniak merged 1 commit into
mainfrom
fix/nav-features-anchor

Conversation

@GuilhermeVozniak
Copy link
Copy Markdown
Collaborator

Summary

The header renders on every route, but the Features nav link was a bare #features. On any sub-page (/docs, /privacy, /changelog) the browser resolved it against the current path — e.g. /docs/#features — which has no such anchor, so clicking Features did nothing instead of returning to the home page's Features section.

Made it absolute (/#features) so it always targets the Features section on the home page.

Test plan

  • New header.test.tsx: Features → /#features; Docs/Privacy/Changelog routes intact
  • bun --cwd packages/landing test:unit — 55/55
  • build + lint clean

🧙 Built with WOZCODE

…ge fragment

The header renders on every route, but the Features nav link was a bare
`#features`. On any sub-page (/docs, /privacy, /changelog) the browser
resolved it against the current path — e.g. /docs/#features — which has no
such anchor, so clicking Features did nothing instead of returning to the
home page's Features section.

Made it absolute (`/#features`) so it always targets the section on the
home page. Added a header test covering the Features anchor + the other
nav routes.

Co-Authored-By: WOZCODE <contact@withwoz.com>
@github-actions
Copy link
Copy Markdown

Landing preview will be available at https://bluemacaw.com/previews/pr-41/ once AWS infra lands (Plan D).

@GuilhermeVozniak GuilhermeVozniak merged commit 7a6b508 into main May 23, 2026
9 checks passed
@GuilhermeVozniak GuilhermeVozniak deleted the fix/nav-features-anchor branch May 23, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant