feat(WEB-304): remaning UI from design system primitives

This commit is contained in:
Simon Emanuelsson
2024-06-07 10:36:23 +02:00
parent 6737970f54
commit 7c4b8401e9
228 changed files with 3516 additions and 3237 deletions
+3 -3
View File
@@ -4,7 +4,7 @@ import Title from "@/components/TempDesignSystem/Text/Title"
import styles from "./header.module.css"
import type { HeaderProps } from "@/types/components/myPages/stays/title"
import type { HeaderProps } from "@/types/components/myPages/header"
export default function Header({
link,
@@ -21,11 +21,11 @@ export default function Header({
>
{title}
</Title>
{link && (
{link ? (
<Link className={styles.link} href={link.href} variant="myPage">
{link.text}
</Link>
)}
) : null}
<Subtitle className={styles.subtitle}>{subtitle}</Subtitle>
</header>
)