fix: replace temp design system components with design system package in surprises

This commit is contained in:
Christian Andolf
2025-05-21 16:34:56 +02:00
parent dfac13f9ad
commit 76994f6e01
7 changed files with 113 additions and 86 deletions

View File

@@ -1,7 +1,8 @@
import { useIntl } from "react-intl"
import { Typography } from "@scandic-hotels/design-system/Typography"
import Image from "@/components/Image"
import Title from "@/components/TempDesignSystem/Text/Title"
import styles from "./surprises.module.css"
@@ -21,9 +22,9 @@ export default function Card({ title, children }: CardProps) {
})}
/>
<header>
<Title textAlign="center" level="h4">
{title}
</Title>
<Typography variant="Title/smRegular">
<h4 className={styles.title}>{title}</h4>
</Typography>
</header>
{children}