feat(SW-185): Refactor mocked data
This commit is contained in:
@@ -2,6 +2,8 @@ export type FooterMainNav = {
|
||||
id: string
|
||||
href: string
|
||||
title: string
|
||||
openInNewTab: boolean
|
||||
isExternal: boolean
|
||||
}
|
||||
export type FooterMainNavProps = {
|
||||
mainLinks: FooterMainNav[]
|
||||
@@ -11,16 +13,12 @@ export type FooterSecondaryNav = {
|
||||
id: string
|
||||
href: string
|
||||
title: string
|
||||
image?: {
|
||||
src: string
|
||||
}
|
||||
openInNewTab: boolean
|
||||
isExternal: boolean
|
||||
}
|
||||
export type FooterSecondaryNavProps = {
|
||||
secondaryLinks: Record<
|
||||
string,
|
||||
{
|
||||
title: string
|
||||
links: FooterSecondaryNav[]
|
||||
}
|
||||
>
|
||||
secondaryLinks: {
|
||||
title: string
|
||||
links: FooterSecondaryNav[]
|
||||
}[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user