diff --git a/src/components/sections/about/AboutFeaturesSplit.tsx b/src/components/sections/about/AboutFeaturesSplit.tsx index 3d59abb..e69de29 100644 --- a/src/components/sections/about/AboutFeaturesSplit.tsx +++ b/src/components/sections/about/AboutFeaturesSplit.tsx @@ -1,90 +0,0 @@ -import type { LucideIcon } from "lucide-react"; -import Button from "@/components/ui/Button"; -import TextAnimation from "@/components/ui/TextAnimation"; -import ImageOrVideo from "@/components/ui/ImageOrVideo"; -import { resolveIcon } from "@/utils/resolve-icon"; - -type AboutFeaturesSplitProps = { - tag: string; - title: string; - description: string; - primaryButton?: { text: string; href: string }; - secondaryButton?: { text: string; href: string }; - items: { icon: string | LucideIcon; title: string; description: string }[]; -} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); - -const AboutFeaturesSplit = ({ - tag, - title, - description, - primaryButton, - secondaryButton, - items, - imageSrc, - videoSrc, -}: AboutFeaturesSplitProps) => { - return ( -
-
-
-
-

{tag}

-
- - - - - - {(primaryButton || secondaryButton) && ( -
- {primaryButton &&
- )} -
- -
-
- {items.map((item, index) => { - const ItemIcon = resolveIcon(item.icon); - return ( -
-
-
- -
-

{item.title}

-

{item.description}

-
- {index < items.length - 1 && ( -
- )} -
- ); - })} -
- -
-
- -
-
-
-
-
- ); -}; - -export default AboutFeaturesSplit;