Merged in feat/SW-2500-sync-hotel-images- (pull request #2504)

feat: SW-2500 Updated the default image as placeholder when missing

* feat: SW-2500 Updated the default image as placeholder when missing

* feat: SW-2500 Updated to new tokens


Approved-by: Matilda Landström
This commit is contained in:
Hrishikesh Vaipurkar
2025-07-07 09:24:50 +00:00
parent 71c6f4cab3
commit f1839d7b45
2 changed files with 11 additions and 13 deletions

View File

@@ -29,7 +29,11 @@ function ImageGallery({
const imageProps = fill ? { fill, sizes } : { height, width: height * 1.5 }
if (!images || images.length === 0 || imageError) {
return <div className={styles.imagePlaceholder} />
return (
<div className={styles.imagePlaceholder}>
<MaterialIcon icon="imagesmode" size={32} color="CurrentColor" />
</div>
)
}
const firstImage = images[0]