feat(SW-187): Added social media data and copyright label
This commit is contained in:
14
types/components/footer/appDownloadIcons.ts
Normal file
14
types/components/footer/appDownloadIcons.ts
Normal 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",
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user