2024-10-30 16:01:24 +05:30
|
|
|
'use client';
|
|
|
|
|
|
|
|
|
|
export const DocumentSkeleton = () => {
|
|
|
|
|
return (
|
|
|
|
|
<div className="flex flex-col gap-4 w-full">
|
|
|
|
|
<div className="animate-pulse rounded-lg h-12 bg-muted-foreground/20 w-1/2" />
|
|
|
|
|
<div className="animate-pulse rounded-lg h-5 bg-muted-foreground/20 w-full" />
|
|
|
|
|
<div className="animate-pulse rounded-lg h-5 bg-muted-foreground/20 w-full" />
|
|
|
|
|
<div className="animate-pulse rounded-lg h-5 bg-muted-foreground/20 w-1/3" />
|
|
|
|
|
<div className="animate-pulse rounded-lg h-5 bg-transparent w-52" />
|
|
|
|
|
<div className="animate-pulse rounded-lg h-8 bg-muted-foreground/20 w-52" />
|
|
|
|
|
<div className="animate-pulse rounded-lg h-5 bg-muted-foreground/20 w-2/3" />
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
};
|
2024-12-19 17:05:04 +05:30
|
|
|
|
|
|
|
|
export const InlineDocumentSkeleton = () => {
|
|
|
|
|
return (
|
|
|
|
|
<div className="flex flex-col gap-4 w-full">
|
|
|
|
|
<div className="animate-pulse rounded-lg h-4 bg-muted-foreground/20 w-48" />
|
|
|
|
|
<div className="animate-pulse rounded-lg h-4 bg-muted-foreground/20 w-3/4" />
|
|
|
|
|
<div className="animate-pulse rounded-lg h-4 bg-muted-foreground/20 w-1/2" />
|
|
|
|
|
<div className="animate-pulse rounded-lg h-4 bg-muted-foreground/20 w-64" />
|
|
|
|
|
<div className="animate-pulse rounded-lg h-4 bg-muted-foreground/20 w-40" />
|
|
|
|
|
<div className="animate-pulse rounded-lg h-4 bg-muted-foreground/20 w-36" />
|
|
|
|
|
<div className="animate-pulse rounded-lg h-4 bg-muted-foreground/20 w-64" />
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
};
|