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 {
|
||||
AppDownnLoadLinks,
|
||||
AppDownLoadLinks,
|
||||
FooterSecondaryNavProps,
|
||||
} from "@/types/components/footer/navigation"
|
||||
|
||||
@@ -25,7 +25,7 @@ export default function FooterSecondaryNav({
|
||||
<a href={link.href} target="_blank" rel="noopener noreferrer">
|
||||
<Image
|
||||
src={
|
||||
AppDownnLoadLinks[link.id as keyof typeof AppDownnLoadLinks]
|
||||
AppDownLoadLinks[link.id as keyof typeof AppDownLoadLinks]
|
||||
}
|
||||
alt={link.title}
|
||||
width={125}
|
||||
|
||||
@@ -31,7 +31,7 @@ export type FooterSecondaryNavProps = {
|
||||
}
|
||||
}
|
||||
|
||||
export enum AppDownnLoadLinks {
|
||||
export enum AppDownLoadLinks {
|
||||
apple = "/_static/img/app-store-badge.svg",
|
||||
google = "/_static/img/google-play-badge.svg",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user