Spaces:
Running
Running
File size: 1,073 Bytes
d212ba6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
import { Skeleton } from "@/components/ui/skeleton";
export function AuthLoadingSkeleton() {
return (
<div className="h-screen flex flex-col items-center justify-center bg-background">
<div className="space-y-6 max-w-md w-full px-6">
{/* Logo/header area */}
<div className="flex flex-col items-center gap-4">
<Skeleton className="h-12 w-12 rounded-full" />
<Skeleton className="h-6 w-48" />
</div>
{/* Loading animation indicator */}
<div className="flex items-center justify-center gap-2">
<div className="h-2 w-2 bg-muted rounded-full animate-skeleton-pulse" />
<div className="h-2 w-2 bg-muted rounded-full animate-skeleton-pulse" style={{ animationDelay: '0.4s' }} />
<div className="h-2 w-2 bg-muted rounded-full animate-skeleton-pulse" style={{ animationDelay: '0.8s' }} />
</div>
{/* Subtle loading text */}
<div className="text-center">
<Skeleton className="h-4 w-32 mx-auto" />
</div>
</div>
</div>
);
}
|