MohamedDanis / opnhub

https://opnhub.vercel.app
15 stars 11 forks source link

Fixes #5, bug: open external links in a new tab instead of the same tab #6

Closed 10kumaranurag01 closed 1 month ago

10kumaranurag01 commented 1 month ago

Description

This PR updates the code to ensure external links in RepoCard open in a new tab instead of the same tab. This change improves user experience by keeping the current tab content intact while navigating to external pages.

Changes

Motivation & Context

Previously, external links were opening in the same tab, potentially causing users to lose their place in the current application. Opening links in a new tab resolves this issue and provides a better browsing experience.

How Has This Been Tested?

Screen Record

Screencast from 2024-09-30 20-57-22.webm

Types of changes

Checklist

Linked Issues

vercel[bot] commented 1 month ago

@10kumaranurag01 is attempting to deploy a commit to the mohameddanis' projects Team on Vercel.

A member of the Team first needs to authorize it.

MohamedDanis commented 1 month ago

@all-contributors please add @10kumaranurag01 for code

allcontributors[bot] commented 1 month ago

@MohamedDanis

I've put up a pull request to add @10kumaranurag01! :tada: