diff --git a/components/ContentType/HotelPage/SidePeeks/Amenities/AccordionAmenities/Breakfast/index.tsx b/components/ContentType/HotelPage/SidePeeks/Amenities/AccordionAmenities/Breakfast/index.tsx index 5960c0f93..bd45d157a 100644 --- a/components/ContentType/HotelPage/SidePeeks/Amenities/AccordionAmenities/Breakfast/index.tsx +++ b/components/ContentType/HotelPage/SidePeeks/Amenities/AccordionAmenities/Breakfast/index.tsx @@ -1,15 +1,31 @@ import OpeningHours from "@/components/OpeningHours" import AccordionItem from "@/components/TempDesignSystem/Accordion/AccordionItem" +import Body from "@/components/TempDesignSystem/Text/Body" import { getIntl } from "@/i18n" import type { BreakfastAmenityProps } from "@/types/components/hotelPage/sidepeek/amenities" import { IconName } from "@/types/components/icon" +import { HotelTypeEnum } from "@/types/enums/hotelType" export default async function BreakfastAmenity({ openingHours, alternateOpeningHours, + hotelType, }: BreakfastAmenityProps) { const intl = await getIntl() + + const accordionContent = + hotelType === HotelTypeEnum.ScandicGo ? ( + {intl.formatMessage({ id: "All-day breakfast" })} + ) : ( + + ) + return ( - + {accordionContent} ) } diff --git a/components/ContentType/HotelPage/SidePeeks/Amenities/index.tsx b/components/ContentType/HotelPage/SidePeeks/Amenities/index.tsx index 8e6f7af9e..6599b49e4 100644 --- a/components/ContentType/HotelPage/SidePeeks/Amenities/index.tsx +++ b/components/ContentType/HotelPage/SidePeeks/Amenities/index.tsx @@ -13,6 +13,7 @@ import FilteredAmenities from "./FilteredAmenities" import { SidepeekSlugs } from "@/types/components/hotelPage/hotelPage" import type { AmenitiesSidePeekProps } from "@/types/components/hotelPage/sidepeek/amenities" import { FacilityEnum } from "@/types/enums/facilities" +import { HotelTypeEnum } from "@/types/enums/hotelType" export default async function AmenitiesSidePeek({ amenitiesList, @@ -20,6 +21,7 @@ export default async function AmenitiesSidePeek({ checkInInformation, accessibility, restaurants, + hotelType, }: AmenitiesSidePeekProps) { const intl = await getIntl() @@ -60,10 +62,11 @@ export default async function AmenitiesSidePeek({ parkingElevatorPitch={parking.parkingElevatorPitch} parkingPageUrl={parking.parkingPageUrl} /> - {breakfastOpeningHours && ( + {(breakfastOpeningHours || hotelType === HotelTypeEnum.ScandicGo) && ( )} diff --git a/components/ContentType/HotelPage/index.tsx b/components/ContentType/HotelPage/index.tsx index 44522c101..0a3de5f79 100644 --- a/components/ContentType/HotelPage/index.tsx +++ b/components/ContentType/HotelPage/index.tsx @@ -81,6 +81,7 @@ export default async function HotelPage({ hotelId }: HotelPageProps) { location, ratings, parking, + hotelType, } = hotelData.hotel const restaurants = hotelData.restaurants const roomCategories = hotelData.roomCategories @@ -231,6 +232,7 @@ export default async function HotelPage({ hotelId }: HotelPageProps) { : undefined, }} restaurants={restaurants} + hotelType={hotelType} />