From 0045974a4e971b2b82d4d22cf3514f52155aaf92 Mon Sep 17 00:00:00 2001 From: kudindmitriy Date: Thu, 26 Feb 2026 23:11:38 +0200 Subject: [PATCH] Bob AI: Add flip animation effect on hover to all product images in --- .../sections/product/ProductCardThree.tsx | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/src/components/sections/product/ProductCardThree.tsx b/src/components/sections/product/ProductCardThree.tsx index f53d136..ed43749 100644 --- a/src/components/sections/product/ProductCardThree.tsx +++ b/src/components/sections/product/ProductCardThree.tsx @@ -7,6 +7,8 @@ import CardStack from "@/components/cardStack/CardStack"; import ProductImage from "@/components/shared/ProductImage"; import QuantityButton from "@/components/shared/QuantityButton"; import Button from "@/components/button/Button"; +"use client"; + import { useTheme } from "@/providers/themeProvider/ThemeProvider"; import { useProducts } from "@/hooks/useProducts"; import { getButtonProps } from "@/lib/buttonUtils"; @@ -75,6 +77,55 @@ interface ProductCardItemProps { } const ProductCardItem = memo(({ + product, + shouldUseLightText, + isFromApi, + onBuyClick, + cardClassName, + imageClassName, + cardNameClassName, + quantityControlsClassName, +}: ProductCardItemProps) => { + return ( +
+
+ {product.name} +
+
+

+ {product.name} +

+

+ {product.description} +

+
+ + ${product.price.toFixed(2)} + + {onBuyClick && ( + + )} +
+
+
+ ); +}); + +ProductCardItem.displayName = "ProductCardItem"; + +const ProductCardThreeContent = memo(({ product, shouldUseLightText, isFromApi, -- 2.49.1