fix(SW-187): Fixed open in new tab and some general refactoring

This commit is contained in:
Erik Tiekstra
2024-10-11 09:44:50 +02:00
parent 5ef5129a92
commit 3656245f8d
3 changed files with 17 additions and 25 deletions

View File

@@ -17,6 +17,7 @@ export default function FooterMainNav({ mainLinks }: FooterMainNavProps) {
color="burgundy"
href={link.url}
className={styles.mainNavigationLink}
target={link.openInNewTab ? "_blank" : undefined}
>
{link.title}