From 4fb21dc5e6baa6e0453ac66fa7bed8a998ec8efd Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 26 Apr 2026 15:25:50 +0000 Subject: [PATCH] Bob AI: Modify the ProductCard component to implement a 3D flip anim --- .../sections/product/ProductRatingCards.tsx | 59 +++++++++++-------- 1 file changed, 36 insertions(+), 23 deletions(-) diff --git a/src/components/sections/product/ProductRatingCards.tsx b/src/components/sections/product/ProductRatingCards.tsx index a541e30..11daf1b 100644 --- a/src/components/sections/product/ProductRatingCards.tsx +++ b/src/components/sections/product/ProductRatingCards.tsx @@ -20,6 +20,7 @@ type ProductRatingCardsProps = { rating: number; reviewCount: string; imageSrc: string; + description?: string; onClick?: () => void; }[]; }; @@ -42,6 +43,7 @@ const ProductRatingCards = ({ rating: p.rating || 0, reviewCount: p.reviewCount || "0", imageSrc: p.imageSrc, + description: p.description || "Detailed description coming soon...", onClick: p.onProductClick, })) : productsProp; @@ -99,36 +101,47 @@ const ProductRatingCards = ({ ))} @@ -139,4 +152,4 @@ const ProductRatingCards = ({ ); }; -export default ProductRatingCards; +export default ProductRatingCards; \ No newline at end of file -- 2.49.1