"use client" import { useIntl } from "react-intl" import { FacebookIcon, InstagramIcon } from "@/components/Icons" import Image from "@/components/Image" import Link from "@/components/TempDesignSystem/Link" import Body from "@/components/TempDesignSystem/Text/Body" import useLang from "@/hooks/useLang" import styles from "./contact.module.css" import type { ContactProps } from "@/types/components/hotelReservation/selectHotel/selectHotel" export default function Contact({ hotel }: ContactProps) { const lang = useLang() const intl = useIntl() return (
{hotel.hotelFacts.ecoLabels?.nordicEcoLabel ? (
{intl.formatMessage({
{intl.formatMessage({ id: "Nordic Swan Ecolabel" })} {hotel.hotelFacts.ecoLabels.svanenEcoLabelCertificateNumber}
) : null}
) }