cleaned trust center and some widgets

This commit is contained in:
2026-07-31 12:13:41 +02:00
parent 7be430ce1a
commit aa4d0f217e
10 changed files with 29 additions and 28 deletions
@@ -42,7 +42,7 @@ export const EvolutionFilterBar: React.FC<EvolutionFilterBarProps> = ({
<div className="relative min-w-60">
<Input
type="text"
sizeVariant="sm" // Format compact pour la barre de recherche
// Format compact pour la barre de recherche
placeholder="Rechercher une initiative..."
value={searchQuery}
onChange={(e) => onSearchChange(e.target.value)}
+1 -1
View File
@@ -19,7 +19,7 @@ export default function ServicesWidget() {
<p className="text-sm text-slate-500">Catalogue des contrats d'infogérance actifs</p>
</div>
<div className="flex-1 overflow-y-auto mb-6 space-y-3">
<div className="flex-1 mb-6 space-y-3">
{error && <EmptyState message={error} className="text-red-500" />}
{isLoading && !error && <Loader />}
{!isLoading && !error && contracts.length === 0 && (
+3 -3
View File
@@ -7,15 +7,15 @@ export const SupportCtaWidget: React.FC = () => {
const navigate = useNavigate();
return (
<Card className="bg-blue-900 border-blue-800 text-white shadow-sm">
<Card>
<CardContent className="p-6">
<h3 className="text-lg font-semibold mb-2">Centre de Support</h3>
<p className="text-blue-200 text-sm mb-4 leading-relaxed">
<p className="text-blue-900 text-sm mb-4 leading-relaxed">
Déclarez un incident critique ou demandez une évolution de votre infrastructure.
</p>
<Button
onClick={() => navigate('/support')}
className="w-full bg-white text-blue-900 hover:bg-slate-50 font-medium py-2.5 px-4 rounded-lg transition-colors shadow-sm"
className="w-full text-blue-900"
>
Ouvrir un ticket sécurisé
</Button>