From a75c14f69cd36cca65a56260d7a3a03fe70f74a4 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Wed, 20 May 2026 21:39:21 +0000 Subject: [PATCH] Updated ImageGalleryGrid styling and added tag/title/description props. --- src/components/custom/ImageGalleryGrid.tsx | 47 ++++++++++++++++++---- src/pages/HomePage.tsx | 3 ++ 2 files changed, 43 insertions(+), 7 deletions(-) diff --git a/src/components/custom/ImageGalleryGrid.tsx b/src/components/custom/ImageGalleryGrid.tsx index d95c7d5..fb0d665 100644 --- a/src/components/custom/ImageGalleryGrid.tsx +++ b/src/components/custom/ImageGalleryGrid.tsx @@ -8,30 +8,63 @@ type ImageProps = { }; type Props = { + tag?: string; + title: string; + description?: string; images: ImageProps[]; }; -export default function ImageGalleryGrid({ images }: Props) { +export default function ImageGalleryGrid({ tag, title, description, images }: Props) { return ( -

Our Industries

+ {tag && ( + + {tag} + + )} + + {title} + + {description && ( + + {description} + + )}
{images.map((image, index) => ( -
+
{image.alt} -
-

{image.title}

-

{image.description}

+
+

{image.title}

+

{image.description}

))} diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index b5e2ced..52e0199 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -34,6 +34,9 @@ export default function HomePage() {