feat(SW-495): update heading on facility cards
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
import type { Facility } from "@/types/hotel"
|
||||
import type { Amenities, Facility, HealthFacilities } from "@/types/hotel"
|
||||
import type { ActivityCard } from "@/types/trpc/routers/contentstack/hotelPage"
|
||||
import type { CardProps } from "@/components/TempDesignSystem/Card/card"
|
||||
|
||||
export type FacilitiesProps = {
|
||||
facilities: Facility[]
|
||||
activitiesCard?: ActivityCard
|
||||
amenities: Amenities
|
||||
healthFacilities: HealthFacilities
|
||||
}
|
||||
|
||||
export type FacilityImage = {
|
||||
@@ -47,3 +49,11 @@ export enum RestaurantHeadings {
|
||||
restaurant = "Restaurant",
|
||||
breakfastRestaurant = "Breakfast restaurant",
|
||||
}
|
||||
|
||||
export enum WellnessHeadings {
|
||||
GymPool = "Gym & Pool",
|
||||
GymSauna = "Gym & Sauna",
|
||||
GymPoolSaunaRelax = "Gym, Pool, Sauna & Relax",
|
||||
GymJacuzziSaunaRelax = "Gym, Jacuzzi, Sauna & Relax",
|
||||
FallbackHeading = "Wellness & Exercise",
|
||||
}
|
||||
|
||||
6
types/enums/healthFacilities.ts
Normal file
6
types/enums/healthFacilities.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export enum HealthFacilitiesEnum {
|
||||
Jacuzzi = "Jacuzzi",
|
||||
Gym = "Gym",
|
||||
Sauna = "Sauna",
|
||||
Relax = "Relax",
|
||||
}
|
||||
@@ -21,6 +21,8 @@ export type Hotel = HotelData["data"]["attributes"]
|
||||
export type HotelAddress = HotelData["data"]["attributes"]["address"]
|
||||
export type HotelLocation = HotelData["data"]["attributes"]["location"]
|
||||
export type Amenities = HotelData["data"]["attributes"]["detailedFacilities"]
|
||||
export type HealthFacilities =
|
||||
HotelData["data"]["attributes"]["healthFacilities"]
|
||||
|
||||
type HotelRatings = HotelData["data"]["attributes"]["ratings"]
|
||||
export type HotelTripAdvisor =
|
||||
|
||||
Reference in New Issue
Block a user