Merged in feat/SW-1084-spa-page (pull request #1117)
Feat/SW-1084 Spa page option on Hotel page * chore(SW-1084): add separate spa page from CS for hotel page * fix(SW-1084): Cleanup Approved-by: Erik Tiekstra Approved-by: Fredrik Thorsson
This commit is contained in:
@@ -4,7 +4,7 @@ import type { CardProps } from "@/components/TempDesignSystem/Card/card"
|
||||
|
||||
export type FacilitiesProps = {
|
||||
facilities: Facility[]
|
||||
activitiesCard: ActivityCard | null
|
||||
activitiesCard?: ActivityCard
|
||||
}
|
||||
|
||||
export type FacilityImage = {
|
||||
|
||||
@@ -2,5 +2,9 @@ import type { Hotel } from "@/types/hotel"
|
||||
|
||||
export type WellnessAndExerciseSidePeekProps = {
|
||||
healthFacilities: Hotel["healthFacilities"]
|
||||
buttonUrl?: string
|
||||
wellnessExerciseButton?: string
|
||||
spaPage?: {
|
||||
buttonCTA: string
|
||||
url: string
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ export namespace HotelPageEnum {
|
||||
export const enum blocks {
|
||||
Faq = "HotelPageFaq",
|
||||
ActivitiesCard = "HotelPageContentUpcomingActivitiesCard",
|
||||
SpaPage = "HotelPageContentSpaPage",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,13 +7,16 @@ import type {
|
||||
hotelPageUrlSchema,
|
||||
} from "@/server/routers/contentstack/hotelPage/output"
|
||||
import type { activitiesCardSchema } from "@/server/routers/contentstack/schemas/blocks/activitiesCard"
|
||||
import type { spaPageSchema } from "@/server/routers/contentstack/schemas/blocks/spaPage"
|
||||
|
||||
export interface GetHotelPageData extends z.input<typeof hotelPageSchema> {}
|
||||
export interface HotelPage extends z.output<typeof hotelPageSchema> {}
|
||||
|
||||
export interface ActivitiesCard extends z.output<typeof activitiesCardSchema> {}
|
||||
export type ActivityCard = ActivitiesCard["upcoming_activities_card"]
|
||||
export interface ContentBlock extends z.output<typeof contentBlock> {}
|
||||
|
||||
export interface SpaPage extends z.output<typeof spaPageSchema> {}
|
||||
export type ContentBlock = z.output<typeof contentBlock>
|
||||
|
||||
export interface GetHotelPageRefsSchema
|
||||
extends z.input<typeof hotelPageRefsSchema> {}
|
||||
|
||||
Reference in New Issue
Block a user