feat(SW-187) Secondary navigation

This commit is contained in:
Pontus Dreij
2024-08-30 08:48:28 +02:00
parent 59263dbc66
commit d4dd21dda7
9 changed files with 29 additions and 18 deletions

View File

@@ -13,6 +13,7 @@ export default function FooterSecondaryNav({
secondaryLinks,
appDownloads,
}: FooterSecondaryNavProps) {
console.log("secondaryLinks", secondaryLinks[0].links)
return (
<div className={styles.secondaryNavigation}>
<nav className={styles.secondaryNavigationGroup}>
@@ -25,9 +26,9 @@ export default function FooterSecondaryNav({
<a href={link.href} target="_blank" aria-label={link.title}>
<Image
src={
AppDownLoadLinks[link.id as keyof typeof AppDownLoadLinks]
AppDownLoadLinks[link.type as keyof typeof AppDownLoadLinks]
}
alt={link.title}
alt={link.href.title}
width={125}
height={40}
/>