Repository navigation
Docs: MegaMenu examples in a real site header with full panels - #572
Merged
Merged
Conversation
The demos were a bare row of triggers in an empty box. They now sit in a site header (logo, bar, a hero for the panels to open over): section panels with icons and descriptions, a custom panel with a featured launch card, and a plain link. Previews use no padding so the panels fit. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk
A brand glow, dot grid and mini bar chart above the copy, a read-more link, and a narrower panel so it fits the preview. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk
5 tasks done
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.
This fixes Chirio board item 2547f35e from Lorant: "update megamenu examples with better UI".
The docs.once-ui.com/modules/megaMenu demos were a bare row of triggers in an empty box.
apps/docs/src/product/MegaMenuExamples.tsxnow puts them in a small site header for a made-up product, "Ledger". The header has a logo, the menu bar and a hero section for the panels to open over:contentpanel with a "By team" list beside a featured launch card (New tag, title, short copy, call to action).The "Custom content" section reuses the same frame with only Solutions and Pricing. Both previews use
previewPadding="0"so the panels fit inside the preview. The code tabs show the matching code. The hero and card titles areText, not headings, so they stay out of the page's table of contents.Screenshots (dark Product and Solutions, light Resources):
/mnt/project-files/core-fixes/megamenu-examples.pngGenerated by Claude Code