diff --git a/src/components/sections/product/ProductCardOne.tsx b/src/components/sections/product/ProductCardOne.tsx index 15537bc..886b415 100644 --- a/src/components/sections/product/ProductCardOne.tsx +++ b/src/components/sections/product/ProductCardOne.tsx @@ -8,6 +8,7 @@ import ProductImage from "@/components/shared/ProductImage"; import { cls, shouldUseInvertedText } from "@/lib/utils"; import { useTheme } from "@/providers/themeProvider/ThemeProvider"; import { useProducts } from "@/hooks/useProducts"; +import { useRef, useEffect } from "react"; import type { Product } from "@/lib/api/product"; import type { LucideIcon } from "lucide-react"; import type { ButtonConfig, GridVariant, CardAnimationType, TitleSegment, ButtonAnimationType } from "@/components/cardStack/types"; @@ -52,6 +53,8 @@ interface ProductCardOneProps { textBoxButtonContainerClassName?: string; textBoxButtonClassName?: string; textBoxButtonTextClassName?: string; + backgroundVideoUrl?: string; + showBackgroundVideo?: boolean; } interface ProductCardItemProps { @@ -72,7 +75,7 @@ const ProductCardItem = memo(({ cardPriceClassName = "", }: ProductCardItemProps) => { return ( -