"use client" import { useIntl } from "react-intl" import Body from "@scandic-hotels/design-system/Body" import FacebookIcon from "@scandic-hotels/design-system/Icons/FacebookIcon" import InstagramIcon from "@scandic-hotels/design-system/Icons/InstagramIcon" import Image from "@/components/Image" import Link from "@/components/TempDesignSystem/Link" 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() const addressStr = `${hotel.address.streetAddress}, ` const cityStr = hotel.address.city return (
{hotel.hotelFacts.ecoLabels?.nordicEcoLabel ? (
{intl.formatMessage({
{intl.formatMessage({ defaultMessage: "Nordic Swan Ecolabel", })} {hotel.hotelFacts.ecoLabels.svanenEcoLabelCertificateNumber}
) : null}
) }