Improve admin form workspace UX

This commit is contained in:
2026-07-27 19:11:27 +07:00 Unverified
parent f988f60504
commit bc856402e9
33 changed files with 2194 additions and 596 deletions
+27
View File
@@ -0,0 +1,27 @@
import { Card, CardContent, CardHeader } from "@/components/ui/card";
import { Skeleton } from "@/components/ui/skeleton";
export default function AdminFormLoading() {
return (
<div className="mx-auto flex w-full max-w-6xl flex-col gap-4 p-4 md:p-6">
<Card>
<CardHeader>
<Skeleton className="h-6 w-44" />
<Skeleton className="h-4 w-72 max-w-full" />
</CardHeader>
<CardContent className="flex flex-col gap-3">
<Skeleton className="h-9 w-full" />
<Skeleton className="h-24 w-full" />
</CardContent>
</Card>
<Card>
<CardHeader>
<Skeleton className="h-6 w-36" />
</CardHeader>
<CardContent>
<Skeleton className="h-48 w-full" />
</CardContent>
</Card>
</div>
);
}