From 6ef1630c32a62d936f7ad4465efa48c2e168b5cf Mon Sep 17 00:00:00 2001 From: Pontus Dreij Date: Thu, 22 Aug 2024 16:38:35 +0200 Subject: [PATCH] feat(SW-185): Fixed app download images --- app/globals.css | 1 + components/Footer/Details/details.module.css | 1 + .../Footer/Navigation/SecondaryNav/index.tsx | 28 ++++++++++++++++++- components/Footer/Navigation/index.tsx | 13 +++++---- .../Footer/Navigation/navigation.module.css | 1 + components/Footer/mockedData.ts | 4 +-- types/components/footer/navigation.ts | 13 +++++++++ 7 files changed, 52 insertions(+), 9 deletions(-) diff --git a/app/globals.css b/app/globals.css index 52b84b9e6..2bdc25662 100644 --- a/app/globals.css +++ b/app/globals.css @@ -98,6 +98,7 @@ :root { --max-width: 113.5rem; + --max-width-content: 74.75rem; } * { diff --git a/components/Footer/Details/details.module.css b/components/Footer/Details/details.module.css index d8bd17d93..6b1ef6c05 100644 --- a/components/Footer/Details/details.module.css +++ b/components/Footer/Details/details.module.css @@ -59,6 +59,7 @@ } .bottomContainer { border-top: 1px solid var(--Scandic-Peach-80); + padding-top: var(--Spacing-x2); flex-direction: row; } .navigationContainer { diff --git a/components/Footer/Navigation/SecondaryNav/index.tsx b/components/Footer/Navigation/SecondaryNav/index.tsx index 4fe45fc16..33460e7b9 100644 --- a/components/Footer/Navigation/SecondaryNav/index.tsx +++ b/components/Footer/Navigation/SecondaryNav/index.tsx @@ -1,15 +1,41 @@ +import Image from "@/components/Image" import Link from "@/components/TempDesignSystem/Link" import Body from "@/components/TempDesignSystem/Text/Body" import styles from "./secondarynav.module.css" -import { FooterSecondaryNavProps } from "@/types/components/footer/navigation" +import { + AppDownnLoadLinks, + FooterSecondaryNavProps, +} from "@/types/components/footer/navigation" export default function FooterSecondaryNav({ secondaryLinks, + appDownloads, }: FooterSecondaryNavProps) { return (
+ {secondaryLinks.map((link) => (