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

{tag}

-
- - - - - - {(primaryButton || secondaryButton) && ( -
- {primaryButton &&
- )} -
- - - - {items.map((item) => ( -
-
- -
-
-

{item.title}

-

{item.description}

-
-
- ))} -
-
-
-
- ); -}; - -export default FeaturesMediaGrid;