Revert "Merge pull request 'Refact/cleanup' (#3) from refact/cleanup into master"
Deploy Aegis Portal / build-and-deploy (push) Successful in 15s

This reverts commit 679e73f3af, reversing
changes made to 438d739b1a.
This commit is contained in:
LathanDevers
2026-08-03 13:06:38 +02:00
parent 679e73f3af
commit fcf34328ee
84 changed files with 5186 additions and 5336 deletions
+18 -29
View File
@@ -1,34 +1,23 @@
import { Card, CardContent, CardHeader } from '@/components/ui/Card';
interface SecurityWidgetProps {
onClick?: () => void;
}
export default function SecurityWidget({ onClick }: SecurityWidgetProps) {
export default function SecurityWidget() {
return (
<Card
onClick={onClick}
className="cursor-pointer hover:border-blue-300 transition-all duration-300 ease-in-out"
>
<CardHeader>
<h2 className="text-lg font-semibold transition-colors">Posture de Sécurité</h2>
</CardHeader>
<CardContent className="p-6">
<div className="flex items-baseline space-x-2 mb-4">
<span className="text-3xl font-bold text-slate-900">1,432</span>
<span className="text-sm text-slate-500">menaces bloquées (30j)</span>
<div className="bg-white rounded-xl shadow-sm border border-slate-200 p-6">
<h2 className="text-lg font-semibold text-slate-900 mb-4">Posture de Sécurité</h2>
<div className="flex items-baseline space-x-2 mb-4">
<span className="text-3xl font-bold text-slate-900">1,432</span>
<span className="text-sm text-slate-500">menaces bloquées (30j)</span>
</div>
<div className="space-y-3">
<div className="flex justify-between items-center text-sm">
<span className="text-slate-600">Bouclier Cloudflare WAF</span>
<span className="text-emerald-500 font-medium">Actif</span>
</div>
<div className="space-y-3">
<div className="flex justify-between items-center text-sm">
<span className="text-slate-600">Bouclier Cloudflare WAF</span>
<span className="text-emerald-500 font-medium">Actif</span>
</div>
<div className="flex justify-between items-center text-sm">
<span className="text-slate-600">Dernier audit de vulnérabilité</span>
<span className="text-slate-900 font-medium">Il y a 12 jours</span>
</div>
<div className="flex justify-between items-center text-sm">
<span className="text-slate-600">Dernier audit de vulnérabilité</span>
<span className="text-slate-900 font-medium">Il y a 12 jours</span>
</div>
</CardContent>
</Card>
</div>
</div>
);
}