import { Check } from "lucide-react"; import Button from "@/components/ui/Button"; import TextAnimation from "@/components/ui/TextAnimation"; import GridOrCarousel from "@/components/ui/GridOrCarousel"; import ScrollReveal from "@/components/ui/ScrollReveal"; type Metric = { value: string; title: string; features: string[]; }; const MetricsFeatureCards = ({ tag, title, description, primaryButton, secondaryButton, metrics, }: { tag: string; title: string; description: string; primaryButton?: { text: string; href: string }; secondaryButton?: { text: string; href: string }; metrics: Metric[]; }) => (

{tag}

{(primaryButton || secondaryButton) && (
{primaryButton &&
)}
{metrics.map((metric) => (
{metric.value} {metric.title}
{metric.features.map((feature) => (
{feature}
))}
))}
); export default MetricsFeatureCards;