diff --git a/components/ContentType/HotelPage/AmenitiesList/amenitiesList.module.css b/components/ContentType/HotelPage/AmenitiesList/amenitiesList.module.css index aa57fee2d..2f0664441 100644 --- a/components/ContentType/HotelPage/AmenitiesList/amenitiesList.module.css +++ b/components/ContentType/HotelPage/AmenitiesList/amenitiesList.module.css @@ -8,11 +8,23 @@ padding: var(--Spacing-x-one-and-half) var(--Spacing-x0) !important; } +.amenityItemList { + display: flex; + flex-direction: column; + gap: var(--Spacing-x1); +} + +.amenityItem { + display: inline-flex; + gap: var(--Spacing-x1); +} + @media screen and (min-width: 1367px) { .amenitiesContainer { background-color: var(--Scandic-Beige-10); padding: var(--Spacing-x3) var(--Spacing-x3) var(--Spacing-x-one-and-half) var(--Spacing-x3); border-radius: var(--Corner-radius-Large); + margin-top: var(--Spacing-x5); } } diff --git a/components/ContentType/HotelPage/AmenitiesList/index.tsx b/components/ContentType/HotelPage/AmenitiesList/index.tsx index a7253df57..5bad0cfb7 100644 --- a/components/ContentType/HotelPage/AmenitiesList/index.tsx +++ b/components/ContentType/HotelPage/AmenitiesList/index.tsx @@ -1,3 +1,4 @@ +import { mapFacilityToIcon } from "@/components/ContentType/HotelPage/data" import { ChevronRightIcon } from "@/components/Icons" import Button from "@/components/TempDesignSystem/Button" import Body from "@/components/TempDesignSystem/Text/Body" @@ -17,13 +18,18 @@ export default function AmenitiesList({ .slice(0, 5) return (
+ {/*TODO: Update to "Subtitle 2" once we have the new tokens. */} At the hotel -
- {sortedAmenities.map((facility, index) => ( - - {facility.name} - - ))} +
+ {sortedAmenities.map((facility) => { + const IconComponent = mapFacilityToIcon(facility.name) + return ( +
+ {IconComponent && } + {facility.name} +
+ ) + })}