Merged in fix/design-system-remove-preamble (pull request #3153)
remove deprecated preamble, replace with typography * remove deprecated preamble, replace with typography Approved-by: Linus Flood
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
overflow: hidden;
|
||||
height: 100vh;
|
||||
}
|
||||
.bodyText {
|
||||
text-align: center;
|
||||
color: var(--Base-Text-Inverted);
|
||||
}
|
||||
|
||||
.container::after {
|
||||
content: "";
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import Image from "@scandic-hotels/design-system/Image"
|
||||
import { OldDSButton as Button } from "@scandic-hotels/design-system/OldDSButton"
|
||||
import Link from "@scandic-hotels/design-system/OldDSLink"
|
||||
import Preamble from "@scandic-hotels/design-system/Preamble"
|
||||
import Title from "@scandic-hotels/design-system/Title"
|
||||
import { Typography } from "@scandic-hotels/design-system/Typography"
|
||||
|
||||
import BiroScript from "@/components/TempDesignSystem/Text/BiroScript"
|
||||
|
||||
@@ -44,9 +44,9 @@ export default function FullWidthCampaign({ content }: FullWidthCampaignProps) {
|
||||
>
|
||||
{content.heading}
|
||||
</Title>
|
||||
<Preamble color="baseText" textAlign="center">
|
||||
{content.body_text}
|
||||
</Preamble>
|
||||
<Typography className={styles.bodyText} variant="Body/Lead text">
|
||||
<p>{content.body_text}</p>
|
||||
</Typography>
|
||||
<div className={styles.buttons}>
|
||||
{content.has_primary_button ? (
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user