diff --git a/src/components/sections/product/ProductCardOne.tsx b/src/components/sections/product/ProductCardOne.tsx index 6466780..f73c3a2 100644 --- a/src/components/sections/product/ProductCardOne.tsx +++ b/src/components/sections/product/ProductCardOne.tsx @@ -23,41 +23,6 @@ type ProductCard = { isFavorited?: boolean; }; -interface ProductCardOneProps { - products: ProductCard[]; - carouselMode?: "auto" | "buttons"; - gridVariant: ProductCardOneGridVariant; - uniformGridCustomHeightClasses?: string; - animationType: CardAnimationType; - title: string; - titleSegments?: TitleSegment[]; - description: string; - tag?: string; - tagIcon?: LucideIcon; - buttons?: ButtonConfig[]; - textboxLayout: TextboxLayout; - useInvertedBackground: InvertedBackground; - ariaLabel?: string; - className?: string; - containerClassName?: string; - cardClassName?: string; - imageClassName?: string; - textBoxTitleClassName?: string; - textBoxTitleImageWrapperClassName?: string; - textBoxTitleImageClassName?: string; - textBoxDescriptionClassName?: string; - cardNameClassName?: string; - cardPriceClassName?: string; - gridClassName?: string; - carouselClassName?: string; - controlsClassName?: string; - textBoxClassName?: string; - textBoxTagClassName?: string; - textBoxButtonContainerClassName?: string; - textBoxButtonClassName?: string; - textBoxButtonTextClassName?: string; -} - interface ProductCardItemProps { product: ProductCard; shouldUseLightText: boolean; @@ -152,48 +117,50 @@ const ProductCardOne = ({ const shouldUseLightText = shouldUseInvertedText(useInvertedBackground, theme.cardStyle); return ( - - {products.map((product, index) => ( - - ))} - + <> + New Course + + {products.map((product, index) => ( + + ))} + + ); };