feat(SW-762): add h5 level
This commit is contained in:
@@ -51,7 +51,7 @@ async function LevelCard({ level }: LevelCardProps) {
|
|||||||
</BiroScript>
|
</BiroScript>
|
||||||
<MembershipLevelIcon level={level.level_id} color="red" />
|
<MembershipLevelIcon level={level.level_id} color="red" />
|
||||||
</header>
|
</header>
|
||||||
<Title textAlign="center" level="h4">
|
<Title textAlign="center" level="h5">
|
||||||
{pointsString}
|
{pointsString}
|
||||||
{level.required_nights ? (
|
{level.required_nights ? (
|
||||||
<span className={styles.redText}>
|
<span className={styles.redText}>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { headingVariants } from "./variants"
|
|||||||
|
|
||||||
import type { VariantProps } from "class-variance-authority"
|
import type { VariantProps } from "class-variance-authority"
|
||||||
|
|
||||||
type HeadingLevel = "h1" | "h2" | "h3" | "h4"
|
type HeadingLevel = "h1" | "h2" | "h3" | "h4" | "h5"
|
||||||
|
|
||||||
export interface HeadingProps
|
export interface HeadingProps
|
||||||
extends Omit<React.HTMLAttributes<HTMLHeadingElement>, "color">,
|
extends Omit<React.HTMLAttributes<HTMLHeadingElement>, "color">,
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ const config = {
|
|||||||
h2: styles.h2,
|
h2: styles.h2,
|
||||||
h3: styles.h3,
|
h3: styles.h3,
|
||||||
h4: styles.h4,
|
h4: styles.h4,
|
||||||
|
h5: styles.h4,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
defaultVariants: {
|
defaultVariants: {
|
||||||
|
|||||||
Reference in New Issue
Block a user