feat: Add AmenitiesList and IntroSection components to Hotel Page

This commit is contained in:
Chuma McPhoy
2024-07-05 19:26:34 +02:00
parent 1e3bbed6d1
commit 26815cc9bc
17 changed files with 257 additions and 7 deletions

8
types/hotel.ts Normal file
View File

@@ -0,0 +1,8 @@
import { z } from "zod"
import { getHotelDataSchema } from "@/server/routers/hotels/output"
export type HotelData = z.infer<typeof getHotelDataSchema>
export type HotelAddress = HotelData["data"]["attributes"]["address"]
export type HotelLocation = HotelData["data"]["attributes"]["location"]