Merged in feat/benefit-cards (pull request #334)
feat: update benefit cards ui Approved-by: Simon.Emanuelsson
This commit is contained in:
@@ -9,6 +9,7 @@ import SectionLink from "@/components/Section/Link"
|
||||
import Chip from "@/components/TempDesignSystem/Chip"
|
||||
import Grids from "@/components/TempDesignSystem/Grids"
|
||||
import BiroScript from "@/components/TempDesignSystem/Text/BiroScript"
|
||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||
import Subtitle from "@/components/TempDesignSystem/Text/Subtitle"
|
||||
import { getIntl } from "@/i18n"
|
||||
import { getMembershipLevelObject } from "@/utils/membershipLevel"
|
||||
@@ -49,15 +50,14 @@ export default async function NextLevelBenefitsBlock({
|
||||
{formatMessage({ id: "Level up to unlock" })}
|
||||
</Chip>
|
||||
<div>
|
||||
<BiroScript
|
||||
className={styles.level}
|
||||
color="primaryLightOnSurfaceAccent"
|
||||
textAlign="center"
|
||||
type="two"
|
||||
>
|
||||
<Body color="peach50" textAlign="center">
|
||||
{formatMessage({ id: "As our" })} {nextLevel.name}
|
||||
</BiroScript>{" "}
|
||||
<Subtitle color="pale" textAlign="center">
|
||||
</Body>{" "}
|
||||
<Subtitle
|
||||
color="pale"
|
||||
textAlign="center"
|
||||
textTransform="uppercase"
|
||||
>
|
||||
{benefit.title}
|
||||
</Subtitle>
|
||||
</div>
|
||||
|
||||
@@ -8,7 +8,3 @@
|
||||
justify-content: center;
|
||||
padding: var(--Spacing-x3) var(--Spacing-x3) var(--Spacing-x7);
|
||||
}
|
||||
|
||||
.level {
|
||||
transform: rotate(-2deg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user