'use client' import Link from 'next/link' interface EnrichmentHint { field: string label: string impact: string regulation: string priority: string } const PRIORITY_STYLES = { high: { icon: 'âš ī¸', border: 'border-amber-300', bg: 'bg-amber-50' }, medium: { icon: 'â„šī¸', border: 'border-blue-200', bg: 'bg-blue-50' }, low: { icon: '💡', border: 'border-gray-200', bg: 'bg-gray-50' }, } export function EnrichmentHints({ hints }: { hints: EnrichmentHint[] }) { if (!hints || hints.length === 0) return null const highPriority = hints.filter(h => h.priority === 'high') const otherPriority = hints.filter(h => h.priority !== 'high') return (
📋

Bewertung verbessern — {hints.length} fehlende Firmendaten

Ergaenzen Sie diese Daten im Unternehmensprofil fuer eine vollstaendige regulatorische Bewertung.

{highPriority.map((h, i) => { const style = PRIORITY_STYLES[h.priority as keyof typeof PRIORITY_STYLES] || PRIORITY_STYLES.medium return (
{style.icon}
{h.label} {h.regulation}

{h.impact}

) })} {otherPriority.map((h, i) => (
â„šī¸ {h.label} ({h.regulation})
))}
Unternehmensprofil ergaenzen →
) }