end cleaning
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Card, CardContent } from '@/components/ui/Card';
|
||||
import { Card, CardContent, CardHeader } from '@/components/ui/Card';
|
||||
|
||||
interface SecurityWidgetProps {
|
||||
onClick?: () => void;
|
||||
@@ -6,18 +6,18 @@ interface SecurityWidgetProps {
|
||||
|
||||
export default function SecurityWidget({ onClick }: SecurityWidgetProps) {
|
||||
return (
|
||||
<Card
|
||||
<Card
|
||||
onClick={onClick}
|
||||
className="cursor-pointer hover:border-blue-300 hover:shadow-md transition-all group"
|
||||
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">
|
||||
<h2 className="text-lg font-semibold text-slate-900 mb-4 group-hover:text-blue-900 transition-colors">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>
|
||||
|
||||
Reference in New Issue
Block a user