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