Skip to content

Implement Mobile-First Responsive Navigation Drawer #94

Description

@Lakes41

Background

The current top navigation bar simply scales down on mobile devices, squeezing links together and pushing wallet connection buttons off-screen.

Problem

The application is nearly unusable on mobile viewports due to poor touch target sizes and broken CSS flexbox layouts in the header.

Expected Outcome

A dedicated, slide-out hamburger navigation menu for viewports under 768px, ensuring high accessibility, large touch targets, and a clean mobile UI.

Suggested Implementation

  • Utilize CSS media queries or Tailwind CSS md: breakpoints to hide the horizontal link list on small screens.
  • Implement a fixed hamburger menu icon that triggers a modal/drawer overlay.
  • Move tertiary links (Docs, Discord, Settings) into a bottom-anchored section of the mobile drawer.
  • Ensure the drawer traps focus and disables body scrolling when active.

Acceptance Criteria

  • Horizontal navigation is entirely replaced by a hamburger menu on screens < 768px.
  • Drawer animates smoothly in from the right or left edge.
  • Tapping outside the drawer or pressing Escape closes the menu.

Likely Affected Files

  • src/components/Header/Navbar.tsx
  • src/components/Header/MobileMenu.tsx
  • src/styles/components/drawer.css

Requirements

  • Must achieve a 100% pass rate on Google Lighthouse Mobile UX audits.

Metadata

Metadata

Assignees

Labels

GrantFox OSSRelated to GrantFox Open Source Software initiativesMaybe RewardedPotential for a reward based on contributionOfficial Campaign | FWC26Period after the official FIFA World Cup 2026 campaignUIUser InterfacebeginnerGood for beginnersmobileMobile application development

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions