Merged in fix/hotel-pages-fix (pull request #1346)
fix: HotelPage restaurant navigation + translation * fix: hotelPage restaurant navigation + translation Approved-by: Erik Tiekstra
This commit is contained in:
@@ -4,6 +4,8 @@ import Subtitle from "@/components/TempDesignSystem/Text/Subtitle"
|
||||
import Title from "@/components/TempDesignSystem/Text/Title"
|
||||
import { getIntl } from "@/i18n"
|
||||
|
||||
import { translateWellnessType } from "../../HotelPage/utils"
|
||||
|
||||
import styles from "./sidebar.module.css"
|
||||
|
||||
import type { Hotel } from "@/types/hotel"
|
||||
@@ -23,7 +25,7 @@ export default async function WellnessSidebar({ hotel }: WellnessSidebarProps) {
|
||||
{hotel.healthFacilities.map((facility) => (
|
||||
<div key={facility.type}>
|
||||
<Subtitle type="two" color="uiTextHighContrast" asChild>
|
||||
<h4>{intl.formatMessage({ id: facility.type })}</h4>
|
||||
<h4>{translateWellnessType(facility.type, intl)}</h4>
|
||||
</Subtitle>
|
||||
<Body color="uiTextHighContrast">
|
||||
{facility.openingDetails.openingHours.ordinary.alwaysOpen
|
||||
|
||||
Reference in New Issue
Block a user