feat(SW-187): Added social media data and copyright label

This commit is contained in:
Pontus Dreij
2024-09-05 09:34:02 +02:00
parent 89e5d7515c
commit 144ab30bc6
17 changed files with 144 additions and 91 deletions

View File

@@ -0,0 +1,14 @@
export enum AppDownLoadLinks {
apple_da = "/_static/img/app-store-badge-da.svg",
apple_de = "/_static/img/app-store-badge-de.svg",
apple_en = "/_static/img/app-store-badge-en.svg",
apple_fi = "/_static/img/app-store-badge-fi.svg",
apple_no = "/_static/img/app-store-badge-no.svg",
apple_sv = "/_static/img/app-store-badge-sv.svg",
google_da = "/_static/img/google-play-badge-da.svg",
google_de = "/_static/img/google-play-badge-de.svg",
google_en = "/_static/img/google-play-badge-en.svg",
google_fi = "/_static/img/google-play-badge-fi.svg",
google_no = "/_static/img/google-play-badge-no.svg",
google_sv = "/_static/img/google-play-badge-sv.svg",
}

View File

@@ -9,40 +9,41 @@ export type FooterMainNavProps = {
}
export type FooterSecondaryNav = {
id: string
isExternal: boolean
openInNewTab: boolean
title: string
url: string
}
export type FooterSecondaryNavProps = {
secondaryLinks: {
title: string
links: FooterSecondaryNav[]
}[]
appDownloads: {
title: string
links: {
href: {
type FooterSecondaryNavGroup = {
title: string
links: FooterSecondaryNav[]
}
type FooterLinkWithType = {
href?:
| {
href: string
title: string
}
type: string
}[]
}
| undefined
type: string
}
export enum AppDownLoadLinks {
apple_da = "/_static/img/app-store-badge-da.svg",
apple_de = "/_static/img/app-store-badge-de.svg",
apple_en = "/_static/img/app-store-badge-en.svg",
apple_fi = "/_static/img/app-store-badge-fi.svg",
apple_no = "/_static/img/app-store-badge-no.svg",
apple_sv = "/_static/img/app-store-badge-sv.svg",
google_da = "/_static/img/google-play-badge-da.svg",
google_de = "/_static/img/google-play-badge-de.svg",
google_en = "/_static/img/google-play-badge-en.svg",
google_fi = "/_static/img/google-play-badge-fi.svg",
google_no = "/_static/img/google-play-badge-no.svg",
google_sv = "/_static/img/google-play-badge-sv.svg",
type FooterAppDownloads = {
title: string
links: FooterLinkWithType[]
}
type FooterSocialMedia = {
links: FooterLinkWithType[]
}
export type FooterSecondaryNavProps = {
secondaryLinks: FooterSecondaryNavGroup[]
appDownloads: FooterAppDownloads
}
export type FooterDetailsProps = {
socialMedia?: FooterSocialMedia
}
export type FooterNavigationProps = FooterMainNavProps & FooterSecondaryNavProps