Compare commits
6 Commits
84d7b7e847
..
acc
| Author | SHA1 | Date | |
|---|---|---|---|
| 641f634dfa | |||
| 689c5105fe | |||
| dffa4c5a77 | |||
| c040b9e62d | |||
| 39bf84cd0e | |||
| b989b6e8e8 |
@@ -22,4 +22,3 @@ dist-ssr
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ export const CardHeader = React.forwardRef<HTMLDivElement, React.HTMLAttributes<
|
||||
ref={ref}
|
||||
className={cn(
|
||||
// Séparation discrète (bordure fine plutôt qu'ombre inset, pour rester léger)
|
||||
"px-6 py-5 flex flex-col space-y-1.5 border-black/5 dark:border-white/5 transition-all duration-300",
|
||||
"px-6 py-5 flex flex-col space-y-1.5 border-b border-black/5 dark:border-white/5 transition-all duration-300 ease-in-out",
|
||||
className
|
||||
)}
|
||||
{...props}
|
||||
|
||||
@@ -57,7 +57,7 @@ export const Input = forwardRef<HTMLInputElement, InputProps>(
|
||||
"bg-[#e8e8e8] dark:bg-[#1e293b]",
|
||||
"text-slate-800 dark:text-slate-100 font-medium placeholder:text-slate-400 dark:placeholder:text-slate-500",
|
||||
|
||||
// Utilisation directe de tes constantes Neumorphic creusées
|
||||
// 🎯 Utilisation directe de tes constantes Neumorphic creusées
|
||||
NEUMORPHISM.insetLight,
|
||||
NEUMORPHISM.insetDark,
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@ export default function BackupWidget({ onClick }: BackupWidgetProps) {
|
||||
<Badge className="max-w-fit min-w-fit" name="PRA Immuable">
|
||||
</Badge>
|
||||
</CardHeader>
|
||||
<CardContent className="p-6 flex flex-col h-full">
|
||||
<Card variant="flat" className="rounded-lg p-4 border border-slate-100 mb-4">
|
||||
<CardContent className="p-6">
|
||||
<Card variant='digged' className="bg-slate-50 rounded-lg p-4 border border-slate-100 mb-4">
|
||||
<p className="text-sm text-slate-500 mb-1">Dernier snapshot système</p>
|
||||
<p className="text-slate-900 font-medium">Aujourd'hui à 03:00 AM</p>
|
||||
</Card>
|
||||
|
||||
@@ -30,10 +30,10 @@ export default function ServicesWidget() {
|
||||
))}
|
||||
</div>
|
||||
|
||||
<Button className ="text-green-600" size="lg" onClick={() => navigate('/evolution-infrastructure')}>
|
||||
Mise à niveau du Parc
|
||||
<Button size="lg" onClick={() => navigate('/evolution-infrastructure')}>
|
||||
Demander une évolution du parc
|
||||
</Button>
|
||||
|
||||
|
||||
</CardContent>
|
||||
</Card>
|
||||
);
|
||||
|
||||
@@ -8,14 +8,14 @@ export const SupportCtaWidget: React.FC = () => {
|
||||
|
||||
return (
|
||||
<Card>
|
||||
<CardContent className="p-6 rounded-xl">
|
||||
<CardContent className="p-6">
|
||||
<h3 className="text-lg font-semibold mb-2">Centre de Support</h3>
|
||||
<p className="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
|
||||
<Button
|
||||
onClick={() => navigate('/support')}
|
||||
className= "text-rose-500 w-full"
|
||||
className="w-full text-blue-900"
|
||||
>
|
||||
Ouvrir un ticket sécurisé
|
||||
</Button>
|
||||
|
||||
@@ -16,7 +16,7 @@ export const SupportFooterWidget: React.FC<SupportFooterWidgetProps> = ({
|
||||
const navigate = useNavigate();
|
||||
|
||||
return (
|
||||
<div className="mt-12 bg-slate-500 text-slate-300 rounded-xl p-6 flex flex-col sm:flex-row items-center justify-between gap-4 shadow-sm">
|
||||
<div className="mt-12 bg-slate-900 text-slate-300 rounded-xl p-6 flex flex-col sm:flex-row items-center justify-between gap-4 shadow-sm">
|
||||
<div>
|
||||
<h4 className="text-sm font-bold text-white">{title}</h4>
|
||||
<p className="text-xs text-slate-400 mt-0.5">
|
||||
|
||||
@@ -15,7 +15,8 @@ export const useTickets = () => {
|
||||
sort: '-created', // Du plus récent au plus ancien
|
||||
});
|
||||
setTickets(records);
|
||||
} catch {
|
||||
} catch (err) {
|
||||
console.error("Erreur lors de la récupération des tickets :", err);
|
||||
setError("Impossible de charger l'historique de vos requêtes.");
|
||||
} finally {
|
||||
setIsLoading(false);
|
||||
|
||||
@@ -15,7 +15,7 @@ export default function ServiceDesk() {
|
||||
title="Centre de Support (Service Desk)"
|
||||
description="Canal de communication sécurisé avec vos experts GISE."
|
||||
>
|
||||
<Button className= "text-rose-500" onClick={() => navigate('/support/new')}>
|
||||
<Button onClick={() => navigate('/support/new')}>
|
||||
Ouvrir un ticket sécurisé
|
||||
</Button>
|
||||
</PageHeader>
|
||||
|
||||
Reference in New Issue
Block a user