import TextAnimation from "@/components/ui/TextAnimation"; import Button from "@/components/ui/Button"; import BorderGlow from "@/components/ui/BorderGlow"; import GridOrCarousel from "@/components/ui/GridOrCarousel"; import ScrollReveal from "@/components/ui/ScrollReveal"; import type { LucideIcon } from "lucide-react"; import { resolveIcon } from "@/utils/resolve-icon"; type FeatureItem = { icon: string | LucideIcon; title: string; description: string; }; interface FeaturesBorderGlowProps { tag: string; title: string; description: string; primaryButton?: { text: string; href: string }; secondaryButton?: { text: string; href: string }; features: FeatureItem[]; } const FeaturesBorderGlow = ({ tag, title, description, primaryButton, secondaryButton, features, }: FeaturesBorderGlowProps) => { return (
{tag} {(primaryButton || secondaryButton) && (
{primaryButton &&
)}
{features.map((feature) => { const FeatureIcon = resolveIcon(feature.icon); return (

{feature.title}

{feature.description}

); })}
); }; export default FeaturesBorderGlow;