Build and Deploy / test-backend (push) Successful in 1m11s
Build and Deploy / lint-frontend (push) Successful in 21s
Build and Deploy / build-backend (push) Successful in 58s
Build and Deploy / deploy (push) Canceled after 0s
Build and Deploy / build-frontend (push) Canceled after 5m38s
41 lines
1.3 KiB
TypeScript
41 lines
1.3 KiB
TypeScript
import { Skeleton } from "@/components/ui/skeleton";
|
|
import { Card, CardContent, CardHeader } from "@/components/ui/card";
|
|
|
|
export function HomeSkeleton() {
|
|
return (
|
|
<div className="flex flex-col gap-8 px-6 py-8">
|
|
<div className="flex flex-row items-center justify-between">
|
|
<Skeleton className="w-24 h-8" />
|
|
<div className="flex flex-row gap-2">
|
|
<Skeleton className="size-8 rounded-lg" />
|
|
<Skeleton className="size-8 rounded-lg" />
|
|
<Skeleton className="size-8 rounded-lg" />
|
|
</div>
|
|
</div>
|
|
<div className="flex flex-col md:flex-row gap-2 w-full items-stretch">
|
|
<Card className="w-full md:w-1/2">
|
|
<CardHeader>
|
|
<Skeleton className="w-24 h-6" />
|
|
</CardHeader>
|
|
<CardContent>
|
|
<Skeleton className="w-full h-32" />
|
|
</CardContent>
|
|
</Card>
|
|
<Skeleton className="self-center size-9 rounded-lg shrink-0" />
|
|
<Card className="w-full md:w-1/2">
|
|
<CardHeader>
|
|
<Skeleton className="w-24 h-6" />
|
|
</CardHeader>
|
|
<CardContent>
|
|
<Skeleton className="w-full h-32" />
|
|
</CardContent>
|
|
</Card>
|
|
</div>
|
|
<Card className="w-full">
|
|
<CardContent>
|
|
<Skeleton className="w-1/2 h-6" />
|
|
</CardContent>
|
|
</Card>
|
|
</div>
|
|
);
|
|
} |