From 220f74959807ab3a8178e339d2f9a5855900d82e Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Tue, 21 Jul 2026 11:36:50 +0330 Subject: [PATCH] ui product detail page --- app/product/components/ProductDetail.tsx | 2 +- app/product/components/ProductGallery.tsx | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/app/product/components/ProductDetail.tsx b/app/product/components/ProductDetail.tsx index cfffe5e..4e37754 100644 --- a/app/product/components/ProductDetail.tsx +++ b/app/product/components/ProductDetail.tsx @@ -18,7 +18,7 @@ const ProductDetail: FC = () => {
-
+
diff --git a/app/product/components/ProductGallery.tsx b/app/product/components/ProductGallery.tsx index 67acd0d..3a471df 100644 --- a/app/product/components/ProductGallery.tsx +++ b/app/product/components/ProductGallery.tsx @@ -13,12 +13,12 @@ const ProductGallery: FC = ({ images, alt }) => { const [activeIndex, setActiveIndex] = useState(0); return ( -
-
- {alt} +
+
+ {alt}
-
+
{images.slice(0, 4).map((image, index) => ( ))}