Spaces:
Running
Running
Z User
fix(mobile+load): full platform review — phone cropping, boot race, hung-provider stalls
8054c5d Download src/components/AuthLayoutSkeleton.tsx from ahmdelbaz28/AHMDRTAP: direct link, hf CLI and curl.
- Browser
- Download file 1.63 kB
-
https://huggingface.co/spaces/ahmdelbaz28/AHMDRTAP/resolve/main/src/components/AuthLayoutSkeleton.tsx
- Command line
-
hf download hf://spaces/ahmdelbaz28/AHMDRTAP/src/components/AuthLayoutSkeleton.tsx
-
curl -L -o AuthLayoutSkeleton.tsx https://huggingface.co/spaces/ahmdelbaz28/AHMDRTAP/resolve/main/src/components/AuthLayoutSkeleton.tsx
1.63 kB
| import { Skeleton } from "./ui/skeleton"; | |
| export function AuthLayoutSkeleton() { | |
| return ( | |
| <div className="flex min-h-screen bg-background"> | |
| {/* Sidebar skeleton */} | |
| <div className="w-70 border-r border-border bg-background p-4 space-y-6"> | |
| {/* Logo area */} | |
| <div className="flex items-center gap-3 px-2"> | |
| <Skeleton className="h-8 w-8 rounded-md" /> | |
| <Skeleton className="h-4 w-24" /> | |
| </div> | |
| {/* Menu items */} | |
| <div className="space-y-2 px-2"> | |
| <Skeleton className="h-10 w-full rounded-lg" /> | |
| <Skeleton className="h-10 w-full rounded-lg" /> | |
| <Skeleton className="h-10 w-full rounded-lg" /> | |
| </div> | |
| {/* User profile area at bottom */} | |
| <div className="absolute bottom-4 left-4 right-4"> | |
| <div className="flex items-center gap-3 px-1"> | |
| <Skeleton className="h-9 w-9 rounded-full" /> | |
| <div className="flex-1 space-y-2"> | |
| <Skeleton className="h-3 w-20" /> | |
| <Skeleton className="h-2 w-32" /> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| {/* Main content skeleton */} | |
| <div className="flex-1 p-4 space-y-4"> | |
| {/* Content blocks */} | |
| <Skeleton className="h-12 w-48 rounded-lg" /> | |
| <div className="grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3"> | |
| <Skeleton className="h-32 rounded-xl" /> | |
| <Skeleton className="h-32 rounded-xl" /> | |
| <Skeleton className="h-32 rounded-xl" /> | |
| </div> | |
| <Skeleton className="h-64 rounded-xl" /> | |
| </div> | |
| </div> | |
| ); | |
| } | |