diff --git a/src/components/sections/features/FeaturesMarqueeCards.tsx b/src/components/sections/features/FeaturesMarqueeCards.tsx index d37a2f3..e69de29 100644 --- a/src/components/sections/features/FeaturesMarqueeCards.tsx +++ b/src/components/sections/features/FeaturesMarqueeCards.tsx @@ -1,82 +0,0 @@ -import Button from "@/components/ui/Button"; -import TextAnimation from "@/components/ui/TextAnimation"; -import ImageOrVideo from "@/components/ui/ImageOrVideo"; -import ScrollReveal from "@/components/ui/ScrollReveal"; - -type FeatureItem = { - title?: string; - description?: string; -} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); - -interface FeaturesMarqueeCardsProps { - tag: string; - title: string; - description: string; - primaryButton?: { text: string; href: string }; - secondaryButton?: { text: string; href: string }; - items: FeatureItem[]; -} - -const FeaturesMarqueeCards = ({ - tag, - title, - description, - primaryButton, - secondaryButton, - items, -}: FeaturesMarqueeCardsProps) => { - const duplicated = [...items, ...items, ...items, ...items]; - - return ( -
-
-
-
-

{tag}

-
- - - - - - {(primaryButton || secondaryButton) && ( -
- {primaryButton &&
- )} -
- - -
-
- {duplicated.map((item, i) => ( -
- -
- ))} -
-
-
-
-
- ); -}; - -export default FeaturesMarqueeCards;