Dashboard Typo changes

This commit is contained in:
cbazza committed 2025-10-31 12:43:35 +01:00
1 parent adf9dd4f6a
commit a8324e764d
1 file changed
+5 -7
+5 -7
View File
@@ -21,17 +21,15 @@
/ max($transactions->count(), 1) * 42
);
if ($precisionRate < 72) {
$precisionRate = random_int(78, 89);
$precisionRate=random_int(78, 89);
}
$formatCurrency = static fn (float $value): string => number_format($value, 2, ',', '.') . ' €';
$formatCurrency=static fn (float $value): string=> number_format($value, 2, ',', '.') . ' €';
$formatNumber = static fn ($value): string => number_format($value, 0, ',', '.');
$riskSegments = collect([
'Kritisch (≥80)' => $transactions->filter(fn ($trx) => $trx->risk_score >= 80),
'Hoch (65-79)' => $transactions->filter(fn ($trx) => $trx->risk_score >= 65 && $trx->risk_score < 80),
'Beobachtung (40-64)' => $transactions->filter(fn ($trx) => $trx->risk_score >= 40 && $trx->risk_score < 65),
'Routine (<40)' => $transactions->filter(fn ($trx) => $trx->risk_score < 40),
'Hoch (65-79)' => $transactions->filter(fn ($trx) => $trx->risk_score >= 65 && $trx->risk_score < 80), 'Beobachtung (40-64)'=> $transactions->filter(fn ($trx) => $trx->risk_score >= 40 && $trx->risk_score < 65), 'Routine (<40)'=> $transactions->filter(fn ($trx) => $trx->risk_score < 40),
])->map(fn ($group, $label) => [
'label' => $label,
'count' => $group->count(),
@@ -59,7 +57,7 @@
<p class="inline-flex items-center gap-2 rounded-full border border-white/20 bg-white/10 px-3 py-1 text-xs font-semibold uppercase tracking-[0.2em] text-slate-200">
Advanced AI-Powered AFC
</p>
<h1 class="text-3xl font-semibold tracking-tight sm:text-4xl">Operatives Lagezentrum Finanzkriminalität</h1>
<h1 class="text-3xl font-semibold tracking-tight sm:text-4xl">Qualifizierung der Verdachtsfälle juristischer Personen o.Ä.​</h1>
<p class="text-sm leading-relaxed text-slate-300 sm:text-base">
KI-gestützte Detection Engines, Wissensgraphen und Analyst:innen bilden ein gemeinsames Lagebild. Die folgenden Signale fassen aktuelle Alert-Last, Automationsquote und Marktvolumen zusammen.
</p>
@@ -78,7 +76,7 @@
<p class="mt-2 text-2xl font-semibold text-indigo-100">{{ $formatNumber($averagePerAnalyst) }}</p>
</div>
<div class="rounded-2xl border border-rose-400/30 bg-rose-500/20 p-4 backdrop-blur-sm shadow-lg shadow-rose-900/30">
<p class="text-xs font-semibold uppercase tracking-wide text-rose-50">Kritische Fälle</p>
<p class="text-xs font-semibold uppercase tracking-wide text-rose-50">Prior 1 Fälle/p>
<p class="mt-2 text-2xl font-semibold text-rose-100">{{ $formatNumber($highRiskAlerts->count()) }}</p>
</div>
</div>