import Image from "@scandic-hotels/design-system/Image" import Title from "@scandic-hotels/design-system/Title" import { Typography } from "@scandic-hotels/design-system/Typography" import HotelDetailsSidePeek from "@/components/SidePeeks/HotelDetailsSidePeek" import { getIntl } from "@/i18n" import styles from "./header.module.css" import type { HotelHeaderProps } from "@/types/components/hotelReservation/enterDetails/hotelHeader" export default async function HotelHeader({ hotelData: { hotel, url, restaurants, additionalData }, }: HotelHeaderProps) { const image = hotel.hotelContent?.images const intl = await getIntl() const addressStr = `${hotel.address.streetAddress}, ${hotel.address.city}` return (
{image.metaData.altText
{hotel.name} {hotel.name}
{addressStr}
) }