From e525abda20b6d40bbdedc8fc71c0442f0d28f1bc Mon Sep 17 00:00:00 2001 From: Christian Andolf Date: Tue, 28 Jan 2025 16:10:25 +0100 Subject: [PATCH] fix(SW-1386): correct font sizes and levels for full width campaign --- components/Blocks/FullWidthCampaign/index.tsx | 12 +++++++----- .../Text/Preamble/preamble.module.css | 4 ++++ .../TempDesignSystem/Text/Preamble/variants.ts | 1 + 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/components/Blocks/FullWidthCampaign/index.tsx b/components/Blocks/FullWidthCampaign/index.tsx index d9a7f9125..3ccaf4dd6 100644 --- a/components/Blocks/FullWidthCampaign/index.tsx +++ b/components/Blocks/FullWidthCampaign/index.tsx @@ -2,7 +2,7 @@ import Image from "@/components/Image" import Button from "@/components/TempDesignSystem/Button" import Link from "@/components/TempDesignSystem/Link" import BiroScript from "@/components/TempDesignSystem/Text/BiroScript" -import Body from "@/components/TempDesignSystem/Text/Body" +import Preamble from "@/components/TempDesignSystem/Text/Preamble" import Title from "@/components/TempDesignSystem/Text/Title" import styles from "./fullWidthCampaign.module.css" @@ -31,14 +31,16 @@ export default function FullWidthCampaign({ content }: FullWidthCampaignProps) { /> ) : null}
- {node.scripted_top_title} + + {node.scripted_top_title} +
- + <Title color="baseText" textAlign="center" level="h3"> {node.heading} - + {node.body_text} - +
{node.has_primary_button ? (