"use client"; import { motion } from "framer-motion"; import { ArrowRight, Check, Lock, Sparkles } from "lucide-react"; import GlassCard from "@/components/ui/GlassCard"; import GlowButton from "@/components/ui/GlowButton"; import { fadeUp, stagger, viewportConfig } from "@/lib/animations"; import type { Locale } from "@/lib/dictionaries"; import type { PlansDict } from "./pricing"; interface PlansContentProps { locale: Locale; plans: PlansDict; } export default function PlansContent({ locale, plans }: PlansContentProps) { const t = plans; return ( <> {/* Hero */} {t.badge} {t.title}{" "} {t.titleAccent} {t.subtitle} {/* Project tiers */} {t.tiersTitle} {t.tiers.map((tier) => ( {tier.highlighted && ( {t.popularBadge} )} {tier.name} {tier.price} {tier.period} {tier.description} {tier.features.map((feature) => ( {feature} ))} ))} {/* Care plans */} {t.careTitle} {t.careSubtitle} {t.care.map((plan) => ( {plan.name} {plan.price} {plan.features.map((feature) => ( {feature} ))} ))} {/* Disclaimer + CTA */} {t.disclaimer} } > {t.cta} > ); }
{tier.description}