Files
wr.do/app/(protected)/dashboard/loading.tsx
T
2025-04-01 20:28:10 +08:00

20 lines
698 B
TypeScript

import { Skeleton } from "@/components/ui/skeleton";
import { DashboardHeader } from "@/components/dashboard/header";
export default function DashboardLoading() {
return (
<>
<DashboardHeader heading="Dashboard" text="" />
<div className="flex flex-col gap-5">
<div className="grid grid-cols-1 gap-4 sm:grid-cols-3 lg:grid-cols-3">
<Skeleton className="h-32 w-full rounded-lg" />
<Skeleton className="h-32 w-full rounded-lg" />
<Skeleton className="h-32 w-full rounded-lg" />
</div>
<Skeleton className="h-[250px] w-full rounded-lg" />
<Skeleton className="h-[250px] w-full rounded-lg" />
</div>
</>
);
}