feat(SW-750): add facility information text

This commit is contained in:
Fredrik Thorsson
2024-11-20 13:35:21 +01:00
parent b8767dd8f1
commit ee7fabc6c8
4 changed files with 5 additions and 5 deletions

View File

@@ -38,8 +38,8 @@ export default async function AboutTheHotelSidePeek({
ecoLabels={ecoLabels} ecoLabels={ecoLabels}
/> />
<Divider color="baseSurfaceSutbleHover" /> <Divider color="baseSurfaceSutbleHover" />
<Preamble>{descriptions.short}</Preamble> <Preamble>{descriptions.descriptions.medium}</Preamble>
<Body>{descriptions.medium}</Body> <Body>{descriptions.facilityInformation}</Body>
</section> </section>
</SidePeek> </SidePeek>
) )

View File

@@ -83,7 +83,7 @@ export default async function HotelPage() {
<div className={styles.introContainer}> <div className={styles.introContainer}>
<IntroSection <IntroSection
hotelName={hotelName} hotelName={hotelName}
hotelDescription={hotelDescription.short} hotelDescription={hotelDescription.descriptions.short}
location={hotelLocation} location={hotelLocation}
address={hotelAddress} address={hotelAddress}
tripAdvisor={hotelRatings?.tripAdvisor} tripAdvisor={hotelRatings?.tripAdvisor}

View File

@@ -342,7 +342,7 @@ export const hotelQueryRouter = router({
return { return {
hotelId, hotelId,
hotelName: hotelAttributes.name, hotelName: hotelAttributes.name,
hotelDescription: hotelAttributes.hotelContent.texts.descriptions, hotelDescription: hotelAttributes.hotelContent.texts,
hotelLocation: hotelAttributes.location, hotelLocation: hotelAttributes.location,
hotelAddress: hotelAttributes.address, hotelAddress: hotelAttributes.address,
hotelRatings: hotelAttributes.ratings, hotelRatings: hotelAttributes.ratings,

View File

@@ -6,5 +6,5 @@ export type AboutTheHotelSidePeekProps = {
contact: Hotel["contactInformation"] contact: Hotel["contactInformation"]
socials: Hotel["socialMedia"] socials: Hotel["socialMedia"]
ecoLabels: Hotel["hotelFacts"]["ecoLabels"] ecoLabels: Hotel["hotelFacts"]["ecoLabels"]
descriptions: Hotel["hotelContent"]["texts"]["descriptions"] descriptions: Hotel["hotelContent"]["texts"]
} }