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}
/>
<Divider color="baseSurfaceSutbleHover" />
<Preamble>{descriptions.short}</Preamble>
<Body>{descriptions.medium}</Body>
<Preamble>{descriptions.descriptions.medium}</Preamble>
<Body>{descriptions.facilityInformation}</Body>
</section>
</SidePeek>
)

View File

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

View File

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

View File

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