'use client' import { motion } from 'motion/react' import { Shield } from 'lucide-react' import { useRouter } from 'next/navigation' import { useLanguage } from '@/lib/i18n' import { useState } from 'react' export default function PricingPage() { const { t } = useLanguage() const router = useRouter() const [billingInterval, setBillingInterval] = useState<'monthly' | 'annual'>('monthly') const PLANS = [ { key: 'basic', popular: false, price: t('landing.pricing.basicPrice'), period: '' }, { key: 'pro', popular: true, price: billingInterval === 'monthly' ? '9,90€' : '7,90€', period: billingInterval === 'monthly' ? t('landing.pricing.perMonth') : t('landing.pricing.perMonthAnnual') }, { key: 'business', popular: false, price: billingInterval === 'monthly' ? '29,90€' : '23,90€', period: billingInterval === 'monthly' ? t('landing.pricing.perMonth') : t('landing.pricing.perMonthAnnual') }, { key: 'enterprise', popular: false, price: billingInterval === 'monthly' ? '49,90€' : '39,90€', period: billingInterval === 'monthly' ? t('landing.pricing.perUser') : t('landing.pricing.perUserAnnual') }, ] return (
{t('landing.pricing.label')}

{t('landing.pricing.title')}

{t('landing.pricing.desc')}

(-20%)
{PLANS.map((plan) => (
{plan.popular && (
{t('landing.pricing.popular')}
)}

{t(`landing.pricing.${plan.key}.name`)}

{plan.price} {plan.period && {plan.period}}

{t(`landing.pricing.${plan.key}.desc`)}

{[0, 1, 2, 3, 4, 5].map(j => { const feat = t(`landing.pricing.${plan.key}.feature${j}`) if (!feat || feat === `landing.pricing.${plan.key}.feature${j}`) return null return (
{feat}
) })}
))}
) }