feat(header): add hamburger menu with site navigation#192
Open
feat(header): add hamburger menu with site navigation#192
Conversation
Adds a hamburger dropdown at the top-right of the header exposing site-wide navigation (Use Cases, Product, Company, Support). Use Cases ships as disabled "Coming soon" placeholders — phase 2 will build the actual landing pages. - New useCasesMenu() + mainNav() in src/lib/data/menu.ts - Hamburger trigger swaps Menu → X when open - Dropdown arrow points to the trigger - 2-column grid on sm+, scrollable within viewport on mobile - Svelte scale transition emanating from trigger position via --bits-floating-transform-origin - Requires bits-ui forceMount + child snippet pattern for exit animation - Compact logged-out auth CTAs: Sign in → ghost sm, Sign up → outline sm - "Sign up free" → "Sign up" across locales Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--bits-floating-transform-origin+ Sveltescaletransition; icon swaps Menu → X when open; caret points to the trigger.sm+, scrollable within viewport on mobile.Test plan
/, open hamburger, navigate to Product → Pricing.+quick-action dropdown + hamburger + avatar all render side-by-side.🤖 Generated with Claude Code