Skip to content

LinkedIn and X (Twitter) Icons Redirect Page to Top Instead of Opening Social Links #147

@divyansh2901

Description

@divyansh2901

Bug Description

When clicking on the LinkedIn or X (Twitter) social media icons in the project, the page scrolls back to the top instead of opening the respective social media links.
https://github.com/user-attachments/assets/8e48028c-07a0-473c-83f1-413ee356006c

Steps to Reproduce

  1. Open the website
  2. Scroll to the section containing social media icons
  3. Click on the LinkedIn or X icon

Expected Behavior

The icons should open the corresponding social media profile/page in a new tab or redirect properly.

Actual Behavior

Clicking the icons causes the page to jump to the top instead of opening any link.

Possible Cause

The anchor tags may contain:

href="#"


@pushkarscripts I would like to work on this issue under GSSoC'26.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions