Checkpoint: Nouvelle navigation hiérarchique avec 4 menus principaux (Itinova, Santinova, Soins et Santé, St Exupéry), sous-menus dépliables (Établissements, DSI), sidebar partagée AppSidebar sur toutes les pages, et pages placeholder pour les sections à venir.
This commit is contained in:
28
client/src/components/ComingSoon.tsx
Normal file
28
client/src/components/ComingSoon.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
// ComingSoon.tsx — Page placeholder pour les sections en cours de développement
|
||||
import { LucideIcon, Construction } from 'lucide-react';
|
||||
|
||||
interface ComingSoonProps {
|
||||
title: string;
|
||||
subtitle?: string;
|
||||
icon?: LucideIcon;
|
||||
}
|
||||
|
||||
export function ComingSoon({ title, subtitle, icon: Icon = Construction }: ComingSoonProps) {
|
||||
return (
|
||||
<div className="flex-1 flex flex-col items-center justify-center py-24 px-6 text-center">
|
||||
<div className="w-20 h-20 rounded-2xl bg-muted flex items-center justify-center mb-6">
|
||||
<Icon className="w-10 h-10 text-muted-foreground" />
|
||||
</div>
|
||||
<h2 className="text-2xl font-bold text-foreground mb-2" style={{ fontFamily: 'Sora, sans-serif' }}>
|
||||
{title}
|
||||
</h2>
|
||||
{subtitle && (
|
||||
<p className="text-muted-foreground max-w-sm">{subtitle}</p>
|
||||
)}
|
||||
<div className="mt-6 inline-flex items-center gap-2 px-4 py-2 rounded-full bg-primary/10 text-primary text-sm font-medium">
|
||||
<Construction className="w-3.5 h-3.5" />
|
||||
Section en cours de développement
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user