diff --git a/src/components/sections/features/FeaturesRevealCardsBentoSharp.tsx b/src/components/sections/features/FeaturesRevealCardsBentoSharp.tsx index bfd3f28..e69de29 100644 --- a/src/components/sections/features/FeaturesRevealCardsBentoSharp.tsx +++ b/src/components/sections/features/FeaturesRevealCardsBentoSharp.tsx @@ -1,109 +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"; -import { cls } from "@/lib/utils"; - -type FeatureItem = { - title: string; - description: string; - href: string; -} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); - -interface FeaturesRevealCardsBentoSharpProps { - tag: string; - title: string; - description: string; - primaryButton?: { text: string; href: string }; - secondaryButton?: { text: string; href: string }; - items: [FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem]; -} - -const FeaturesRevealCardsBentoSharp = ({ tag, title, description, primaryButton, secondaryButton, items }: FeaturesRevealCardsBentoSharpProps) => { - const gridClasses = [ - "md:col-span-2", - "md:col-span-4", - "md:col-span-3", - "md:col-span-3", - "md:col-span-2", - "md:col-span-2", - "md:col-span-2", - ]; - - const staggerDelays = [ - 0, - 0.1, - 0, - 0.1, - 0, - 0.1, - 0.2, - ]; - - return ( -
-
-
-
-

{tag}

-
- - - - - - {(primaryButton || secondaryButton) && ( -
- {primaryButton &&
- )} -
- -
- {items.map((item, index) => ( - - -
- -
-
-
- ); -}; - -export default FeaturesRevealCardsBentoSharp;