fix/mobile-navbar-improvements#3062
Merged
sydseter merged 11 commits intoJun 7, 2026
Merged
Conversation
Replace the legacy mobile dropdown with a slide-out drawer, add the branded header logo, and apply mobile menu spacing from design review.
Contributor
Author
|
hii @sydseter please take a look at this. |
Collaborator
|
@Adarshkumar0509 instead of taking the user to /copi when pressing Play Online, could we instead be taken to https://copi.owasp.org/ ? |
Collaborator
Navbar changes (mobile): - Rewrite mobile navbar as left side drawer with backdrop overlay - Fix menu items showing in reverse order - Add GET CORNUCOPIA section label to separate sub-links - Increase drawer item font size, reduce padding to avoid scrollbar - Add OWASP Cornucopia logo in navbar (cornucopia_logo_white_with_text_owasp.svg) - Play Online button links to https://copi.owasp.org/ - Orange styling for Get Cornucopia button and dropdown border - Hover-based dropdown (no checkbox toggle) - Responsive breakpoint at 900px for tablet support Hero section changes: - Exchange logos: horn-only as large hero image, text logo as small navbar logo - Reduce padding-top so text comes higher up - Move #top anchor from chevron to first TextImage in +page.svelte - Adjust hero card container margin
The button was pressing against the right edge of the drawer with square corners on the right side. Added equal padding around the button and ensured all corners are rounded.
sydseter
approved these changes
Jun 7, 2026
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.

Description
Redesigns the OWASP Cornucopia site header navigation to match the mobile/desktop layout from the redesign demo, with mentor feedback applied.
Changes:
1.} Replace the legacy mobile dropdown with a left slide-out drawer (backdrop, hamburger toggle, section label for “Get Cornucopia” sublinks).
2.} Add the OWASP wordmark header logo (cornucopia_logo_white_with_text_owasp.svg) instead of plain text branding.
3.} Keep desktop navigation: horizontal links, “Get Cornucopia” checkbox dropdown, and “Play Online” CTA.
4.} Scope nav CSS to .top-nav / .mobile-drawer so global nav flex rules no longer break the drawer layout.
5.} Mobile menu: tighter vertical spacing, readable font sizes, smaller “Play Online” button, no language list in the drawer (per design review).
fixed issue: #2194
AI Tool Disclosure
Affirmation