Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix External Links to Open in New Tabs #201

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kushivaradaraj
Copy link

Description: Solved issue #200

This pull request addresses an issue where the external links (GitHub, GitLab, Discord, and X) on the website were opening in the same tab, causing users to navigate away from the site.

Changes Made:

Updated the HTML for external link icons to include target="_blank" attributes.
Added rel="noopener noreferrer" to improve security and performance when opening links in new tabs.
Files Modified:

Updated the link component in the following files (list specific files if needed):

components/ExternalLinks.js
pages/index.js
public/assets/icons.js
Reason for Changes:

Ensuring external links open in a new tab provides a better user experience by allowing users to easily return to the site after visiting external pages.

Additional Notes:

No functional changes to the existing content; only modifications to link behaviour.
Verified changes in various browsers to ensure consistent behaviour.
Please review the changes and let me know if further adjustments are needed.

Copy link

vercel bot commented Aug 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 12, 2024 9:34am

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.

1 participant