From 384f044dace0bb69d84e0cb0df9f8951a2aa14d8 Mon Sep 17 00:00:00 2001 From: Fredrik Thorsson Date: Wed, 27 Nov 2024 09:52:42 +0100 Subject: [PATCH] feat(SW-914): back on track --- .../ContentType/HotelPage/SidePeeks/index.ts | 1 + components/ContentType/HotelPage/index.tsx | 15 +++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/components/ContentType/HotelPage/SidePeeks/index.ts b/components/ContentType/HotelPage/SidePeeks/index.ts index 5da71bbcd..7eff75db2 100644 --- a/components/ContentType/HotelPage/SidePeeks/index.ts +++ b/components/ContentType/HotelPage/SidePeeks/index.ts @@ -1,3 +1,4 @@ export { default as AboutTheHotelSidePeek } from "./AboutTheHotel" +export { default as AmenitiesSidePeek } from "./Amenities" export { default as RoomSidePeek } from "./Room" export { default as WellnessAndExerciseSidePeek } from "./WellnessAndExercise" diff --git a/components/ContentType/HotelPage/index.tsx b/components/ContentType/HotelPage/index.tsx index 87fe388a5..7f627128d 100644 --- a/components/ContentType/HotelPage/index.tsx +++ b/components/ContentType/HotelPage/index.tsx @@ -2,7 +2,6 @@ import { notFound } from "next/navigation" import { activities, - amenities, meetingsAndConferences, restaurantAndBar, } from "@/constants/routes/hotelPageParams" @@ -30,6 +29,7 @@ import PreviewImages from "./PreviewImages" import { Rooms } from "./Rooms" import { AboutTheHotelSidePeek, + AmenitiesSidePeek, RoomSidePeek, WellnessAndExerciseSidePeek, } from "./SidePeeks" @@ -75,6 +75,7 @@ export default async function HotelPage({ hotelId }: HotelPageProps) { hotelFacts, location, ratings, + parking, } = hotelData.data.attributes const roomCategories = hotelData.included?.filter((item) => item.type === "roomcategories") || [] @@ -178,13 +179,11 @@ export default async function HotelPage({ hotelId }: HotelPageProps) { ) : null} {/* eslint-disable import/no-named-as-default-member */} - - {/* TODO: Render amenities as per the design. */} - Read more about the amenities here - +