ShopNex
ShopNex copied to clipboard
BUG: NavLink Highlight Does Not Update to "Shop" or "Cart" When Logo or Cart Icon is Clicked
Issue Description
The navigation link highlight does not update to "Shop" when the logo is clicked in both the navbar and the footer. The navigation highlight also does not update to highlight the cart when the cart icon is clicked. It rather has the previous navlink highlighted instead of updating it to shop when clicked on the logo and cart when clicked on the cart.
Steps to Reproduce
- Open the website.
- Click on any navigation link (e.g., "Men", "Women", "Kids" ) to highlight it.
- Click on the logo in the navbar or the footer to navigate to the "Shop" page.
- Observe the navigation link highlight.
- Click on the cart.
- Observe the navigation link highlight.
Expected Behavior
When the logo is clicked in either the navbar or the footer, the navigation link highlight should update to the "Shop" link, indicating that the user is now on the "Shop" page. When the cart icon is clicked, the navigation link should update to highlight the cart.
Actual Behavior
The navigation link highlight does not update to "Shop" when the logo is clicked in both the navbar and the footer. The navigation highlight also does not update to highlight the cart when the cart icon is clicked. It continues to highlight the previous navlink the user was on.
Screenshots
Please assign this issue to me. I am a contributor at GSSoC' 24. I would be very happy to work on it.