import { CheckCircle, ArrowRight } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card"; interface PricingTier { name: string; price: string; description: string; features: string[]; popular?: boolean; promo?: string; } interface PricingProps { title?: string; subtitle?: string; tiers: PricingTier[]; } const Pricing = ({ title = "Nos forfaits", subtitle = "Simple et transparent", tiers }: PricingProps) => { return (
{(title || subtitle) && (

{title}

{subtitle}

)}
{tiers.map((tier, index) => ( {tier.popular && ( Recommandé )} {tier.name} {tier.description}
{tier.price} /mois
    {tier.features.map((feature, i) => (
  • {feature}
  • ))}
{tier.promo && (

{tier.promo}

)}
))}
); }; export default Pricing;