Skip to content

Implement the Shop menu in the header navigation bar #102

@Alexandrbig1

Description

@Alexandrbig1

Priority: High
Difficulty: Intermediate
Type: Frontend (React + Tailwind)


Description

We need to implement the Shop menu in the header navigation bar.
When the user clicks or hovers on Shop, a full dropdown menu should appear, following the design provided.


Implementation Details

  1. Shop Button in Navbar

    • Add Shop item in header.
    • Add a down arrow icon () by default.
    • When menu is open, arrow should rotate up ().
    • Add a hover effect (change color / background as per design).
  2. Dropdown Menu

    • Menu takes entire width below navbar (like a mega-menu).
    • Each title link and sub-links should follow the provided Figma design.
    • Use grid or flex layout for clean alignment.
  3. Hover Effects for Links

    • On hover over a link → show animated underline:
      • From left to right (0% → 100%).
      • On hover out → underline should animate back right to 0%.
    • Smooth transition (e.g., transition-all duration-300 ease-in-out).
  4. Navigation

    • When clicking on a link, navigate to:
      https://corexshoptest.onrender.com/api/collections/:name
      
    • :name must be the clicked link text, converted to lowercase.
    • No need to build the actual collection page — just update the URL.

Assets

Image


Acceptance Criteria

  • Shop button in navbar works with hover & click effects.
  • Arrow rotates down/up depending on menu state.
  • Menu expands full width below navbar, following design.
  • Links have animated underline hover effect.
  • Clicking a link updates the URL correctly (lowercase :name).

Bonus

  • Add keyboard accessibility (open menu with Enter/Space, navigate with arrows).
  • Close menu when clicking 'Escape'.
  • Smooth menu open/close animation (slide down).

Metadata

Metadata

Labels

advancedComplex/advanced tasks or featuresfrontendTasks related to the frontend (React, Vite, TailwindCSS, UI components, pages)hacktoberfestSpecial issue for Hacktoberfesthacktoberfest-2025Special issue for Hacktoberfest 2025priority: highNeeds attention ASAPreactReact components & UI logic

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions