"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 "@scandic-hotels/design-system/Image" import Link from "@scandic-hotels/design-system/Link" import useLang from "../../hooks/useLang" import styles from "./contact.module.css" import type { Hotel } from "@scandic-hotels/trpc/types/hotel" interface ContactProps { hotel: Hotel } 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}
) }