Added Active State Indicator for Navbar #1188
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #1185
Issues Identification
Self-identified issue: Lack of active state indicator in the navbar, causing confusion regarding the current page.
Closes: #1185
Description
Added Active State Indicator for Navbar to Enhance Navigation with Highlighted Active Links
Summary
This pull request implements an active state indicator for the navbar buttons/links, improving user experience and providing clear visual feedback about the user's current location on the website.
Details
Added CSS classes and JavaScript logic to highlight the currently active navbar link.
When a user navigates to different pages via the navbar, the selected link will be highlighted (either through underlining or changing background color).
This improvement ensures users can easily identify which page they are on, enhancing navigation clarity.
Types of Changes
Please check the boxes that apply
Checklist
Please check the boxes that apply
Screenshots
If applicable, please attach screenshots of the changes made to the user interface.
Before:
After:
Additional Information
I created an issue for this feature request, but it has not yet been assigned to me. Nonetheless, I have gone ahead and implemented the change and am submitting this pull request. Please consider my contribution accordingly and assign appropriate tags based on the contribution.