feat(SW-187): Added tertiary links data

This commit is contained in:
Pontus Dreij
2024-09-05 10:16:55 +02:00
parent c033f776b6
commit 2a59ad431b
9 changed files with 94 additions and 29 deletions

View File

@@ -1,20 +1,16 @@
export type FooterMainNav = {
url: string
title: string
}
export type FooterMainNavProps = {
mainLinks: FooterMainNav[]
}
export type FooterSecondaryNav = {
export type FooterLink = {
isExternal: boolean
openInNewTab: boolean
title: string
url: string
}
export type FooterMainNavProps = {
mainLinks: FooterLink[]
}
type FooterSecondaryNavGroup = {
title: string
links: FooterSecondaryNav[]
links: FooterLink[]
}
type FooterLinkWithType = {
href?:
@@ -42,6 +38,7 @@ export type FooterSecondaryNavProps = {
export type FooterDetailsProps = {
socialMedia?: FooterSocialMedia
tertiaryLinks?: FooterLink[]
}
export type FooterNavigationProps = FooterMainNavProps & FooterSecondaryNavProps