Feat/SW-2271 hotel list filtering

* feat(SW-2271): Changes to hotel data types in preperation for filtering
* feat(SW-2271): Added filter and sort functionality

Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-07-04 09:27:20 +00:00
parent 82e21af0d4
commit fa7214cb58
58 changed files with 1572 additions and 450 deletions

View File

@@ -30,13 +30,11 @@ export default async function HotelListing({
<Typography variant="Title/sm">
<h3 className={styles.heading}>{heading}</h3>
</Typography>
{hotels.map(({ url, hotel, additionalData }) => (
{hotels.map((hotelData) => (
<HotelListingItem
key={hotel.name}
hotel={hotel}
additionalData={additionalData}
key={hotelData.hotel.name}
hotelData={hotelData}
contentType={contentType}
url={url}
/>
))}
</SectionContainer>