diff --git a/app/page.tsx b/app/page.tsx index 9947ae1..5f6f578 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -67,26 +67,26 @@ export default function Home() { const { copyToClipboard, downloadText } = useDownloadActions({ outputText }); return ( -
+
{/* Header */} -
+
-

+

OUTIL D'ANONYMISATION DE DONNÉES

-

+

Protégez vos informations sensibles en quelques clics

{/* Main Content */} -
+
{/* Progress Bar */} {/* Upload Section */} -
+

- {error.includes('scanné') ? '📄 PDF Scanné Détecté' : - error.includes('HTTP') ? '🚨 Erreur de Traitement' : - '⚠️ Erreur'} + {error.includes("scanné") + ? "📄 PDF Scanné Détecté" + : error.includes("HTTP") + ? "🚨 Erreur de Traitement" + : "⚠️ Erreur"}

- {error.split('\n').map((line, index) => ( -
0 ? 'mt-2' : ''}> - {line.startsWith('💡') ? ( + {error.split("\n").map((line, index) => ( +
0 ? "mt-2" : ""}> + {line.startsWith("💡") ? (
{line}
- ) : line.startsWith('-') ? ( + ) : line.startsWith("-") ? (
• {line.substring(1).trim()}