feat(SW-185): Refactor mocked data

This commit is contained in:
Pontus Dreij
2024-08-22 16:08:11 +02:00
parent 7173c9e9eb
commit 33ed06a5f2
3 changed files with 4 additions and 3 deletions

View File

@@ -1,4 +1,3 @@
import Image from "@/components/Image"
import Link from "@/components/TempDesignSystem/Link" import Link from "@/components/TempDesignSystem/Link"
import Body from "@/components/TempDesignSystem/Text/Body" import Body from "@/components/TempDesignSystem/Text/Body"

View File

@@ -257,7 +257,7 @@ export const footer = {
export const detailsData = { export const detailsData = {
copyrightCompany: "© 2024 Scandic AB", copyrightCompany: "© 2024 Scandic AB",
copyrightInfo: "All rights reserved.", copyrightInfo: "All rights reserved.",
social: { socialMedia: {
links: [ links: [
{ {
title: "Facebook", title: "Facebook",
@@ -276,7 +276,7 @@ export const detailsData = {
}, },
], ],
}, },
links: [ tertiaryLinks: [
{ {
title: "Cookies", title: "Cookies",
href: "/cookies", href: "/cookies",

View File

@@ -1,6 +1,8 @@
export type FooterMainNav = { export type FooterMainNav = {
url: string url: string
title: string title: string
openInNewTab: boolean
isExternal: boolean
} }
export type FooterMainNavProps = { export type FooterMainNavProps = {
mainLinks: FooterMainNav[] mainLinks: FooterMainNav[]