Skip to content

fix(site): add a mobile menu to the header - #363

Merged
jouwdan merged 1 commit into
mainfrom
claude/meith-marketing-redesign-y0euae
Sep 5, 2026
Merged

fix(site): add a mobile menu to the header#363
jouwdan merged 1 commit into
mainfrom
claude/meith-marketing-redesign-y0euae

Conversation

@jouwdan

@jouwdan jouwdan commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

Below the md breakpoint the site header only showed Docs and Demo, so most of the navigation added in #362 was unreachable on a phone.

  • Adds a hamburger menu (MobileMenu) built on a <details> element, so it opens without any script. The panel lists Product, Who it's for with the five audience pages indented beneath it, Docs, Demo, About, GitHub, and a full-width Get started button.
  • The bars animate into an X while open; the menu closes when a link inside it is chosen and on Escape. Transitions respect the site's existing prefers-reduced-motion rule.
  • Inline navigation now starts at md (About and Get started at lg, as before). Search and the theme toggle stay visible at every width.

Verification

  • pnpm lint, pnpm typecheck:site, pnpm comments:check, and the site's unit tests pass.
  • Checked at 390px and 700px in light and dark, and at 1024px, including opening the menu, navigating to an audience page, and confirming it closes.

🤖 Generated with Claude Code

https://claude.ai/code/session_019etDyVHWA4s6RBzoRVsqgJ


Generated by Claude Code

Below the md breakpoint the header showed only Docs and Demo. Replace
that with a hamburger menu built on a details element: it lists every
navigation item, the audience pages under "Who it's for", and the
Get started action. It closes when a link inside it is chosen or on
Escape, and needs no script to open.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019etDyVHWA4s6RBzoRVsqgJ
@jouwdan
jouwdan merged commit b77d4fd into main Sep 5, 2026
16 checks passed
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.

2 participants