Skip to content

Commit

Permalink
refactor : add rel to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
BenVal01 authored and MartinWeb committed Mar 12, 2024
1 parent 1f1cf65 commit 597582b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion packages/Layout/footer/src/FooterCore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ const FooterCore = ({
<footer className={className}>
<div className="container-fluid container">
{!!icon && (
<a className="af-logo" href={href} title={title} target="blank">
<a
className="af-logo"
href={href}
title={title}
target="_blank"
rel="noopener noreferrer">
<img className="af-logo__brand" src={icon} alt={alt} />
</a>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ exports[`<Footer> should render a footer with copyright prop as content 1`] = `
<a
class="af-logo"
href="https://www.axa.fr/"
target="blank"
rel="noopener noreferrer"
target="_blank"
title="Site Axa"
>
<img
Expand Down

0 comments on commit 597582b

Please sign in to comment.