feat(SW-185): Refactor mocked data
This commit is contained in:
@@ -5,7 +5,7 @@ import Body from "@/components/TempDesignSystem/Text/Body"
|
|||||||
import styles from "./secondarynav.module.css"
|
import styles from "./secondarynav.module.css"
|
||||||
|
|
||||||
import {
|
import {
|
||||||
AppDownnLoadLinks,
|
AppDownLoadLinks,
|
||||||
FooterSecondaryNavProps,
|
FooterSecondaryNavProps,
|
||||||
} from "@/types/components/footer/navigation"
|
} from "@/types/components/footer/navigation"
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ export default function FooterSecondaryNav({
|
|||||||
<a href={link.href} target="_blank" rel="noopener noreferrer">
|
<a href={link.href} target="_blank" rel="noopener noreferrer">
|
||||||
<Image
|
<Image
|
||||||
src={
|
src={
|
||||||
AppDownnLoadLinks[link.id as keyof typeof AppDownnLoadLinks]
|
AppDownLoadLinks[link.id as keyof typeof AppDownLoadLinks]
|
||||||
}
|
}
|
||||||
alt={link.title}
|
alt={link.title}
|
||||||
width={125}
|
width={125}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ export type FooterSecondaryNavProps = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum AppDownnLoadLinks {
|
export enum AppDownLoadLinks {
|
||||||
apple = "/_static/img/app-store-badge.svg",
|
apple = "/_static/img/app-store-badge.svg",
|
||||||
google = "/_static/img/google-play-badge.svg",
|
google = "/_static/img/google-play-badge.svg",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user