Merged in feat/SW-185-implement-footer-navigation (pull request #437)
Feat/SW-185 implement footer navigation Approved-by: Erik Tiekstra Approved-by: Matilda Landström Approved-by: Simon.Emanuelsson
This commit is contained in:
37
types/components/footer/navigation.ts
Normal file
37
types/components/footer/navigation.ts
Normal file
@@ -0,0 +1,37 @@
|
||||
export type FooterMainNav = {
|
||||
id: string
|
||||
href: string
|
||||
title: string
|
||||
openInNewTab: boolean
|
||||
isExternal: boolean
|
||||
}
|
||||
export type FooterMainNavProps = {
|
||||
mainLinks: FooterMainNav[]
|
||||
}
|
||||
|
||||
export type FooterSecondaryNav = {
|
||||
id: string
|
||||
href: string
|
||||
title: string
|
||||
openInNewTab: boolean
|
||||
isExternal: boolean
|
||||
}
|
||||
export type FooterSecondaryNavProps = {
|
||||
secondaryLinks: {
|
||||
title: string
|
||||
links: FooterSecondaryNav[]
|
||||
}[]
|
||||
appDownloads: {
|
||||
title: string
|
||||
links: {
|
||||
title: string
|
||||
href: string
|
||||
id: string
|
||||
}[]
|
||||
}
|
||||
}
|
||||
|
||||
export enum AppDownLoadLinks {
|
||||
apple = "/_static/img/app-store-badge.svg",
|
||||
google = "/_static/img/google-play-badge.svg",
|
||||
}
|
||||
3
types/components/footer/socialIcons.ts
Normal file
3
types/components/footer/socialIcons.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export type SocialIconsProps = {
|
||||
iconName: string
|
||||
}
|
||||
@@ -27,11 +27,13 @@ export enum IconName {
|
||||
DoorOpen = "DoorOpen",
|
||||
ElectricBike = "ElectricBike",
|
||||
Email = "Email",
|
||||
Facebook = "Facebook",
|
||||
Fitness = "Fitness",
|
||||
Globe = "Globe",
|
||||
House = "House",
|
||||
Image = "Image",
|
||||
InfoCircle = "InfoCircle",
|
||||
Instagram = "Instagram",
|
||||
Location = "Location",
|
||||
Lock = "Lock",
|
||||
Parking = "Parking",
|
||||
@@ -42,6 +44,7 @@ export enum IconName {
|
||||
PlusCircle = "PlusCircle",
|
||||
Restaurant = "Restaurant",
|
||||
Sauna = "Sauna",
|
||||
Tripadvisor = "Tripadvisor",
|
||||
TshirtWash = "TshirtWash",
|
||||
Wifi = "Wifi",
|
||||
WarningTriangle = "WarningTriangle",
|
||||
|
||||
Reference in New Issue
Block a user