Skip to content

Commit

Permalink
fix: Specify the link type by adding an attribute rel="noopener noref…
Browse files Browse the repository at this point in the history
…errer" (#1713)

Signed-off-by: Sulagna Ghosh <[email protected]>
  • Loading branch information
suzy-g38 authored Jul 15, 2023
1 parent c10768e commit 36f496e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function Footer() {
<ul>
{section.child.map((link, linkIndex) => (
<li key={linkIndex} className="pt-2">
<a href={link.link} className="hover:text-primary " target="_blank">{link.name}</a>
<a href={link.link} className="hover:text-primary " rel="noopener noreferrer" target="_blank">{link.name}</a>
</li>
))}
</ul>
Expand All @@ -126,7 +126,7 @@ function Footer() {
<ul>
{section.child.map((link, linkIndex) => (
<li key={linkIndex} className="pt-2">
<a href={link.link} className="hover:text-primary " target="_blank">{link.name}</a>
<a href={link.link} className="hover:text-primary " rel="noopener noreferrer" target="_blank">{link.name}</a>
</li>
))}
</ul>
Expand Down

0 comments on commit 36f496e

Please sign in to comment.