feat(SW-828): Moved placeholder image to ImageGallery

This commit is contained in:
Pontus Dreij
2024-11-13 14:18:33 +01:00
parent 16d7f5bf8f
commit 60b6f0457b
8 changed files with 30 additions and 40 deletions

View File

@@ -29,12 +29,10 @@ export default function HotelInfoCard({ hotelData }: HotelInfoCardProps) {
{hotelAttributes && (
<section className={styles.wrapper}>
<div className={styles.imageWrapper}>
{hotelAttributes?.galleryImages && (
<ImageGallery
title={hotelAttributes.name}
images={hotelAttributes.galleryImages}
/>
)}
<ImageGallery
title={hotelAttributes.name}
images={hotelAttributes.galleryImages}
/>
{hotelAttributes.ratings?.tripAdvisor && (
<div className={styles.tripAdvisor}>
<TripAdvisorIcon color="burgundy" />