Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Navbar tabs should stay highlighted based on the active route(dark theme) #139

Closed
Chayan8837 opened this issue Feb 19, 2025 · 2 comments · Fixed by #142
Closed
Labels
enhancement New feature or request

Comments

@Chayan8837
Copy link
Contributor

Chayan8837 commented Feb 19, 2025

Feature title

Navbar tabs should stay highlighted based on the active route(dark theme)

Description

Currently, when a user clicks on a navbar tab, it gets highlighted. However, the highlight disappears upon navigation(dark theme). The active tab should remain highlighted based on the current route, ensuring better user experience and navigation clarity.

Image

there is no clearity , here i am .

Motivation

1️⃣ Better Navigation Clarity – Users can easily identify the active page.
2️⃣ Consistency – The highlight persists after navigation or refresh.
3️⃣ Improved UX – Enhances accessibility and reduces confusion.
4️⃣ Industry Standard – Most modern websites use this behavior.
5️⃣ Easy to Implement – usePathname makes it simple.(already implemented)

Alternatives

No response

Select program in which you are contributing

GSoC'25

Additional context

No response

@Chayan8837 Chayan8837 added the enhancement New feature or request label Feb 19, 2025
@github-project-automation github-project-automation bot moved this to In progress in new website Feb 19, 2025
@Chayan8837
Copy link
Contributor Author

If needed, I’d be happy to work on it. Please assign me.

@Chayan8837 Chayan8837 changed the title [FEATURE] Navbar tabs should stay highlighted based on the active route [FEATURE] Navbar tabs should stay highlighted based on the active route(dark theme) Feb 19, 2025
@MAVRICK-1
Copy link
Member

@Chayan8837 okay go ahead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants