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

Fix Navbar Button Visibility Based on Current Route #21

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dhruvchandak30
Copy link

This PR fixes the issue where navbar buttons (Simulation and Game) were consistently visible irrespective of the current page (pathname). The fix ensures that the buttons correctly toggle visibility based on the active route, enhancing UI consistency and user navigation experience.

image

image

Fixes: #20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Navbar Buttons Display Inconsistency Based on Current Page
1 participant