Skip to content

Commit

Permalink
Merge pull request #209 from slafayIGN/issue_205
Browse files Browse the repository at this point in the history
Open partners logo link in new tabs
  • Loading branch information
garronej authored Nov 21, 2023
2 parents cf75f76 + 5dd7960 commit 6b1adab
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,12 @@ export const Footer = memo(
{mainPartnersLogo !== undefined && (
<a
href={mainPartnersLogo.href}
target="_blank"
title={`${mainPartnersLogo.href} - ${t(
"open new window"
)}`}
className={cx(
fr.cx("fr-footer__partners-link"),
fr.cx("fr-footer__partners-link", "fr-raw-link"),
classes.partnersLink
)}
>
Expand Down Expand Up @@ -395,8 +399,15 @@ export const Footer = memo(
<li key={i}>
<a
href={logo.href}
target="_blank"
title={`${logo.href} - ${t(
"open new window"
)}`}
className={cx(
fr.cx("fr-footer__partners-link"),
fr.cx(
"fr-footer__partners-link",
"fr-raw-link"
),
classes.partnersLink
)}
>
Expand Down

0 comments on commit 6b1adab

Please sign in to comment.