refact & cleanup : Sidebar, Button, card, EmptyState, Loader, ServiceObject, StatusBadge, UptameObject, BackupWidget, SecurityWidget, ServicesWidget, SupportCtaWidget, UptimeWidget, DashboardLayout

This commit is contained in:
LathanDevers
2026-07-29 22:50:04 +02:00
parent 438d739b1a
commit ec900efe3a
42 changed files with 3357 additions and 3966 deletions
+18
View File
@@ -0,0 +1,18 @@
import React from 'react';
import { cn } from '@utils/utils';
interface EmptyStateProps {
message: string;
className?: string;
}
export const EmptyState: React.FC<EmptyStateProps> = ({ message, className }) => {
return (
<div className={cn(
"flex-1 flex justify-center items-center py-8 text-sm text-slate-500 italic",
className
)}>
{message}
</div>
);
};