Skip to content

fix(ui): replace dead href links with javascript:void(0)#2258

Open
Prateek2007-cmd wants to merge 1 commit into
janavipandole:mainfrom
Prateek2007-cmd:fix/dead-links
Open

fix(ui): replace dead href links with javascript:void(0)#2258
Prateek2007-cmd wants to merge 1 commit into
janavipandole:mainfrom
Prateek2007-cmd:fix/dead-links

Conversation

@Prateek2007-cmd

Copy link
Copy Markdown

Description

This PR resolves Issue 6: Widespread Dead Links (href="#").
Closes #2252
Numerous interactive elements (like cart buttons, wishlist placeholders, and the mobile menu close button) were using href="#". Clicking these dead links inherently causes the browser to jump back to the top of the page, disrupting the user experience and negatively impacting SEO.

This PR replaces these placeholder links with href="javascript:void(0)" across the primary entry-point views (index.html, shop.html, and cart.html). This ensures the UI buttons remain clickable without triggering unwanted navigation or scrolling behavior.

Changes Made

  • Updated index.html, shop.html, and cart.html by globally replacing href="#" with href="javascript:void(0)".
  • Fixed the mobile navigation close button jumping issue.
  • Fixed the 'Add to cart' icon jumping issue on product cards.
  • Fixed the 'My Wishlist' footer link placeholder.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • UI/UX improvement

@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

@Prateek2007-cmd is attempting to deploy a commit to the janavipandole's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

Widespread Dead Links (href="#")

1 participant