feat(SW-750): add facility information text
This commit is contained in:
@@ -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>
|
||||
)
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user