Skip to content

[Bug]: Product page opens on same page — want to open in a new tab #1959

Open
@everestp

Description

@everestp

Describe the bug

Overview:

In the hero section of the portfolio website, the text “Building Teachyst next-gen LMS” includes a link to the Techyst website. Currently, clicking the link opens Techyst in the same tab. It would be better UX if this opened in a new tab.

Current Behavior:

  • Clicking “Techyst” opens the external Techyst website in the same tab.

Expected Behavior:

  • Clicking “Techyst” should open the link in a new browser tab to avoid navigating away from the portfolio.

Suggested Fix:

Add target="_blank" and rel="noopener noreferrer" to the anchor tag.

Example:

<a href="https://techyst.com" target="_blank" rel="noopener noreferrer">Techyst</a>


### To Reproduce

1. Open the portfolio website (https://www.piyushgarg.dev/).
2. Scroll to the hero section at the top of the page.
3. Locate the text “Building Teachyst next-gen LMS”.
4. Click on the “Techyst” link in that text.
5. Observe that it opens in the same browser tab, replacing the portfolio site.


### Expected behavior

- When a user clicks on the “Techyst” link in the hero section, it should open the Techyst website in a **new browser tab**.
- The portfolio website should remain open in the original tab, allowing users to explore both sites simultaneously.

![Image](https://github.com/user-attachments/assets/3d0f17be-1e9b-481d-9489-2acba6289c9e)

### Screenshots/Videos

![Image](https://github.com/user-attachments/assets/0c1380fd-5e4a-42aa-bed4-fd5b77e49533)

_No response_

### Additional context

_No response_

### Please checkmark the following checklist

- [x] I make sure that similar issue is not opened

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions