feat: schema change

This commit is contained in:
Fredrik Thorsson
2024-08-06 12:49:50 +02:00
parent 798d19d3c8
commit 75011dffe5
4 changed files with 38 additions and 36 deletions

View File

@@ -13,7 +13,13 @@ export default async function HotelCard({ hotel }: HotelCardProps) {
const { formatMessage } = await getIntl()
return (
<article className={styles.card}>
<Image src="" alt="hotel image" className={styles.image} />
<Image
src={hotel.hotelContent.images.imageSizes.large}
alt={hotel.hotelContent.images.metaData.altText}
width={300}
height={200}
className={styles.image}
/>
<div className={styles.information}>
<header className={styles.title}>
<ScandicLogoIcon color="red" />