From 908136b10b30c81a3713d4ecf598ca6a2941bcee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matilda=20Landstr=C3=B6m?= Date: Thu, 7 Nov 2024 17:25:01 +0100 Subject: [PATCH] chore(SW-187): update footer UI --- components/Footer/Details/details.module.css | 2 ++ components/Footer/Details/index.tsx | 9 +++++++-- components/Footer/Navigation/MainNav/index.tsx | 2 +- .../Footer/Navigation/SecondaryNav/index.tsx | 17 +++++++++++++---- components/LanguageSwitcher/index.tsx | 5 ++++- .../Text/Subtitle/subtitle.module.css | 4 ++++ .../TempDesignSystem/Text/Subtitle/variants.ts | 1 + 7 files changed, 32 insertions(+), 8 deletions(-) diff --git a/components/Footer/Details/details.module.css b/components/Footer/Details/details.module.css index cf2ad10af..d62f08949 100644 --- a/components/Footer/Details/details.module.css +++ b/components/Footer/Details/details.module.css @@ -60,11 +60,13 @@ border-top: 1px solid var(--Base-Text-Medium-contrast); padding-top: var(--Spacing-x2); flex-direction: row; + align-items: center; } .navigationContainer { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; gap: var(--Spacing-x4); + align-items: center; } } diff --git a/components/Footer/Details/index.tsx b/components/Footer/Details/index.tsx index cb3a4eb9b..5cb8bbf4b 100644 --- a/components/Footer/Details/index.tsx +++ b/components/Footer/Details/index.tsx @@ -56,7 +56,7 @@ export default async function FooterDetails() {
- + © {currentYear}{" "} {intl.formatMessage({ id: "Copyright all rights reserved" })} @@ -66,7 +66,12 @@ export default async function FooterDetails() { {footer?.tertiaryLinks.map( (link) => link.url && ( - + {mainLinks.map((link) => (
  • - + {appDownloads && (