feat: add SoonestStays

This commit is contained in:
Arvid Norlin
2024-04-22 13:34:57 +02:00
parent fc28e09df5
commit dff21b33cd
21 changed files with 235 additions and 107 deletions

View File

@@ -1,13 +0,0 @@
import type { Stay, User } from "@/types/user"
export type StaysProps = {
title: string
preamble: string
link: {
href: string
text: string
} | null
stays: User["stays"]
}
export type StayProps = Stay

View File

@@ -1,4 +1,5 @@
export type HeaderProps = {
title: string
subtitle: string
subtitle?: string
link: { href: string; text: string } | null
}

View File

@@ -6,6 +6,7 @@ import { RTEDocument } from "@/types/rte/node"
export enum DynamicContentComponents {
membership_overview = "membership_overview",
soonest_stays = "soonest_stays",
previous_stays = "previous_stays",
upcoming_stays = "upcoming_stays",
current_benefits = "current_benefits",