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"; import { cls } from "@/lib/utils"; type PricingPlan = { tag: string; price: string; description: string; features: string[]; highlight?: string; primaryButton: { text: string; href: string }; secondaryButton?: { text: string; href: string }; }; const PricingHighlightedCards = ({ tag, title, description, primaryButton, secondaryButton, plans, }: { tag: string; title: string; description: string; primaryButton?: { text: string; href: string }; secondaryButton?: { text: string; href: string }; plans: PricingPlan[]; }) => (

{tag}

{(primaryButton || secondaryButton) && (
{primaryButton &&
)}
{plans.map((plan) => (
{plan.highlight || "placeholder"}
{plan.price} {plan.tag}
{plan.features.map((feature) => (
{feature}
))}
))}
); export default PricingHighlightedCards;