import { getTranslations } from 'next-intl/server'; import { Link } from '@/i18n/navigation'; import { Card, CardContent } from '@/components/ui/card'; import { Shield } from 'lucide-react'; export default async function AssurancePage() { const t = await getTranslations('dashboard.wikiPages'); const clauses = t.raw('assurance.clauses') as Array<{ name: string; level: string; includes: string[]; excludes: string[]; }>; const extensions = t.raw('assurance.extensions') as Array<{ name: string; description: string }>; const processSteps = t.raw('assurance.processSteps') as string[]; const clauseColors = [ 'border-green-500 bg-green-50', 'border-yellow-500 bg-yellow-50', 'border-red-500 bg-red-50', ]; const clauseBadges = ['bg-green-600', 'bg-yellow-600', 'bg-red-600']; return (
{t('backToWiki')}

{t('assurance.title')}

{t('assurance.description')}

{t('assurance.iccTitle')}

{clauses.map((clause, i) => (

{clause.name}

{clause.level}

{t('includesLabel')}

    {clause.includes.map((item, j) => (
  • {item}
  • ))}

{t('excludesLabel')}

    {clause.excludes.map((item, j) => (
  • {item}
  • ))}
))}

{t('assurance.extensionsTitle')}

{extensions.map(ext => (

{ext.name}

{ext.description}

))}

{t('assurance.processTitle')}

    {processSteps.map((step, i) => (
  1. {step}
  2. ))}

{t('assurance.valueTitle')}

{t('assurance.valueFormula')}

{t('assurance.valueNote')}

); }