NixOS / nixos-summer

Creative Commons Attribution Share Alike 4.0 International
9 stars 12 forks source link

External Links Should Open in a New Tab #47

Closed Ayush307K closed 2 months ago

Ayush307K commented 3 months ago

I have noticed that external links to ⁠ https://chaos.social/@nixos_org ⁠, Twitter, YouTube, and GitHub currently open in the same tab. For a better user experience and to follow web best practices, these external links should open in a new tab by adding ⁠ target="_blank" ⁠ to the respective ⁠  ⁠ tags.

Affected Links: •⁠ ⁠[Chaos Social] •⁠ ⁠[Twitter] •⁠ ⁠[YouTube] •⁠ ⁠[GitHub]

Suggested Solution: Add ⁠ target="_blank" ⁠ to all external links, so they open in a new tab or window. This change will prevent users from losing their current session on the website when navigating to these external sites.

Additional Context: Opening external links in a new tab is a common practice to ensure that users don't inadvertently navigate away from the site. It also enhances user experience by allowing users to explore external content while keeping the original site open.

Please let me know if you need any further information or if there are specific guidelines to follow for this change.

Ayush307K commented 3 months ago

Respected Project Maintainers,

I’ve submitted a pull request that updates the social media links to open in a new tab. If you could please review the changes, I'd appreciate any feedback. If there’s anything that needs to be adjusted or if you have any suggestions for improvement, please let me know!

Thanks for your time!