fix: remove custom style and add tiltedMedium variant

This commit is contained in:
Chuma McPhoy
2024-07-08 18:01:45 +02:00
parent 0f0678e829
commit 3f2f435461
4 changed files with 6 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ export default async function IntroSection({
<section className={styles.introSection}>
<div className={styles.mainContent}>
<div className={styles.titleContainer}>
<BiroScript className={styles.welcomeLabel} color="red">
<BiroScript tilted="medium" color="red">
{formatMessage({ id: "Welcome to" })}:
</BiroScript>
<Title level="h2">{hotelName}</Title>

View File

@@ -14,10 +14,6 @@
gap: var(--Spacing-x-one-and-half);
}
.welcomeLabel {
transform: rotate(-4deg) translate(0px, -15px);
}
.introLink {
text-decoration-color: var(--Scandic-Peach-80);
width: fit-content;

View File

@@ -30,6 +30,10 @@
transform: rotate(-2deg);
}
.tiltedMedium {
transform: rotate(-4deg) translate(0px, -15px);
}
.tiltedLarge {
transform: rotate(-13deg) translate(0px, -15px);
}

View File

@@ -22,6 +22,7 @@ const config = {
},
tilted: {
small: styles.tiltedSmall,
medium: styles.tiltedMedium,
large: styles.tiltedLarge,
},
},