Merge branch 'develop' into feat/build-initial-hotel-page-component

This commit is contained in:
Chuma McPhoy
2024-06-28 13:11:50 +02:00
35 changed files with 433 additions and 396 deletions

View File

@@ -30,13 +30,6 @@ export type Content = { content: RteBlockContent["content"]["content"] }
type Benefit = { title: string }
type OverviewTableTitleTranslation = {
text: string
highlight: boolean
}
export type OverviewTableTitleProps = { texts: OverviewTableTitleTranslation[] }
export type OverviewTableProps = { user: User | null }
export type Level = {
@@ -54,7 +47,7 @@ export type LevelCardProps = {
}
export type ComparisonLevel = {
tier: membershipLevels
level: membershipLevels
name: string
description: string
requirement: string
@@ -72,6 +65,7 @@ export type ComparisonLevel = {
export type LevelSummaryProps = {
level: ComparisonLevel
showDescription?: boolean
}
export type BenefitCardProps = {
@@ -94,8 +88,18 @@ export type BenefitListProps = {
levels: ComparisonLevel[]
}
export type MobileColumnHeaderProps = {
column: "A" | "B"
}
export type DesktopSelectColumns = {
column: MobileColumnHeaderProps["column"] | "C"
}
export type LargeTableProps = {
levels: ComparisonLevel[]
activeLevel: membershipLevels | null
Select?: (column: DesktopSelectColumns) => JSX.Element | null
}
export type BenefitTableHeaderProps = {