ifixkart-admin/app/(admin)/loading.tsx

24 lines
1 KiB
TypeScript

export default function AdminLoading() {
return (
<div className="flex flex-col gap-5 min-w-0 animate-pulse">
<div className="flex items-start justify-between gap-3">
<div className="space-y-2">
<div className="h-5 w-40 bg-muted rounded-[5px]" />
<div className="h-3.5 w-24 bg-muted rounded-[5px]" />
</div>
<div className="h-9 w-28 bg-muted rounded-[6px]" />
</div>
<div className="h-9 w-full max-w-md bg-muted rounded-[6px]" />
<div className="crm-radius-section border border-border bg-card overflow-hidden min-h-[360px]">
<div className="h-10 bg-muted/70 border-b border-border" />
<div className="divide-y divide-border">
{Array.from({ length: 8 }).map((_, index) => (
<div key={index} className="h-12 px-5 flex items-center">
<div className="h-3.5 w-full max-w-xl bg-muted rounded-[5px]" />
</div>
))}
</div>
</div>
</div>
);
}