fix: remove custom style and add tiltedMedium variant
This commit is contained in:
@@ -36,7 +36,7 @@ export default async function IntroSection({
|
|||||||
<section className={styles.introSection}>
|
<section className={styles.introSection}>
|
||||||
<div className={styles.mainContent}>
|
<div className={styles.mainContent}>
|
||||||
<div className={styles.titleContainer}>
|
<div className={styles.titleContainer}>
|
||||||
<BiroScript className={styles.welcomeLabel} color="red">
|
<BiroScript tilted="medium" color="red">
|
||||||
{formatMessage({ id: "Welcome to" })}:
|
{formatMessage({ id: "Welcome to" })}:
|
||||||
</BiroScript>
|
</BiroScript>
|
||||||
<Title level="h2">{hotelName}</Title>
|
<Title level="h2">{hotelName}</Title>
|
||||||
|
|||||||
@@ -14,10 +14,6 @@
|
|||||||
gap: var(--Spacing-x-one-and-half);
|
gap: var(--Spacing-x-one-and-half);
|
||||||
}
|
}
|
||||||
|
|
||||||
.welcomeLabel {
|
|
||||||
transform: rotate(-4deg) translate(0px, -15px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.introLink {
|
.introLink {
|
||||||
text-decoration-color: var(--Scandic-Peach-80);
|
text-decoration-color: var(--Scandic-Peach-80);
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
|
|||||||
@@ -30,6 +30,10 @@
|
|||||||
transform: rotate(-2deg);
|
transform: rotate(-2deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tiltedMedium {
|
||||||
|
transform: rotate(-4deg) translate(0px, -15px);
|
||||||
|
}
|
||||||
|
|
||||||
.tiltedLarge {
|
.tiltedLarge {
|
||||||
transform: rotate(-13deg) translate(0px, -15px);
|
transform: rotate(-13deg) translate(0px, -15px);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ const config = {
|
|||||||
},
|
},
|
||||||
tilted: {
|
tilted: {
|
||||||
small: styles.tiltedSmall,
|
small: styles.tiltedSmall,
|
||||||
|
medium: styles.tiltedMedium,
|
||||||
large: styles.tiltedLarge,
|
large: styles.tiltedLarge,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user