cornucopia icon indicating copy to clipboard operation
cornucopia copied to clipboard

fix/mobile-navbar-improvements

Open Adarshkumar0509 opened this issue 5 months ago • 3 comments

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

  • [ ] My contribution does not include any AI-generated content
  • [X] My contribution includes AI-generated content, as disclosed below:
    • AI Tools: ` ChatGPT
    • LLMs and versions: GPT-4.1
    • Prompts: It help me for thinking and giving ideas and helping me to fix some issue as well where i got confused

Affirmation

Adarshkumar0509 avatar Jun 03 '26 17:06 Adarshkumar0509

hii @sydseter please take a look at this.

Adarshkumar0509 avatar Jun 03 '26 17:06 Adarshkumar0509

@Adarshkumar0509 instead of taking the user to /copi when pressing Play Online, could we instead be taken to https://copi.owasp.org/ ?

sydseter avatar Jun 05 '26 11:06 sydseter

Not very serious, but on Desktop and Pads the Ge Cornucopia sub-menu is pulling a lot to the left for no reason. Which disturbs a bit.

On IPad Mini (Using the Chrome developer tools and selecting the device), the Play online is pushing against the frame so that you get a white vertical border. I am not sure what is the best here. Either hide it, or make it scrollable. Perhaps I have a soultion for you.

Instead of "Play Online" simply use "Play". That will probably take care of it. When the user presses the button, take them to copi.owasp.org

web

sydseter avatar Jun 05 '26 11:06 sydseter