fix(SW-1386): correct font sizes and levels for full width campaign
This commit is contained in:
@@ -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}
|
||||
<div className={styles.content}>
|
||||
<BiroScript color="baseText">{node.scripted_top_title}</BiroScript>
|
||||
<BiroScript color="baseText" type="two">
|
||||
{node.scripted_top_title}
|
||||
</BiroScript>
|
||||
<div className={styles.mainContent}>
|
||||
<Title color="baseText" textAlign="center">
|
||||
<Title color="baseText" textAlign="center" level="h3">
|
||||
{node.heading}
|
||||
</Title>
|
||||
<Body color="baseText" textAlign="center">
|
||||
<Preamble color="baseText" textAlign="center">
|
||||
{node.body_text}
|
||||
</Body>
|
||||
</Preamble>
|
||||
<div className={styles.buttons}>
|
||||
{node.has_primary_button ? (
|
||||
<Button intent="inverted" size="small" theme="base" asChild>
|
||||
|
||||
Reference in New Issue
Block a user