Skip to content

Commit

Permalink
fix: add rel=noopener to social links
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhoernig committed Dec 3, 2020
1 parent eafc0e7 commit 0ecc2ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SocialIconRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const SOCIAL_LINKS = {
const SocialIconRow = () => (
<div className="flex justify-center align-center space-x-4">
{Object.values(SOCIAL_LINKS).map((social) => (
<a href={social.url} target="_blank" key={social.service}>
<a href={social.url} target="_blank" rel="noopener" key={social.service}>
<span className="sr-only">
{social.srPretext} {social.handle} on {social.service}
</span>
Expand Down

1 comment on commit 0ecc2ce

@vercel
Copy link

@vercel vercel bot commented on 0ecc2ce Dec 3, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.