chore: update my stays to new MVP design

This commit is contained in:
Matilda Landström
2024-04-26 14:53:17 +02:00
parent 38d65f7b37
commit 861ad26f21
8 changed files with 30 additions and 76 deletions

View File

@@ -1,18 +1,4 @@
.subtitle {
margin: 0;
}
.header {
display: grid;
gap: 0.5rem;
}
@media screen and (min-width: 950px) {
.subtitle {
width: 60%;
}
.header {
gap: 2rem;
}
}

View File

@@ -10,7 +10,7 @@ export default function Header({ title, subtitle }: HeaderProps) {
<Title as="h3" level="h2" weight="semiBold" uppercase>
{title}
</Title>
<Title as="h5" level="h3" weight="regular" className={styles.subtitle}>
<Title as="h5" level="h3" weight="regular">
{subtitle}
</Title>
</header>