Skip to content

[UI/UX]: Add Active State Highlighting to Mobile Navigation Sidebar #22

@Utkarsh-660

Description

@Utkarsh-660

Hi,
I'm a SWoC Season 6 contributor.

Requesting you to review below and assign me this issue:

Description: While navigating the mobile version of the application, the sidebar menu does not visually indicate which page is currently active (e.g., Home, Leaderboard, Privacy). This makes it difficult for users to track their location within the app.

Current Behavior: All links in the mobile navigation drawer look identical, regardless of the current URL or route.

Proposed Change: Implement dynamic highlighting for the active route within the Sidebar component. Using React and Tailwind CSS, we should apply specific conditional styles to the active menu item to distinguish it from the rest.

Impact:

  1. Improves navigation clarity for mobile users.
  2. Provides immediate visual feedback upon route changes.
  3. Enhances the overall professional feel of the UI.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions