Spaces:
Running
Running
Download frontend/src/components/admin/AdminTestDetailSkeleton.jsx from banu4prasad/Gateprep: direct link, hf CLI and curl.
- Browser
- Download file 1.68 kB
-
https://huggingface.co/spaces/banu4prasad/Gateprep/resolve/main/frontend/src/components/admin/AdminTestDetailSkeleton.jsx
- Command line
-
hf download hf://spaces/banu4prasad/Gateprep/frontend/src/components/admin/AdminTestDetailSkeleton.jsx
-
curl -L -o AdminTestDetailSkeleton.jsx https://huggingface.co/spaces/banu4prasad/Gateprep/resolve/main/frontend/src/components/admin/AdminTestDetailSkeleton.jsx
1.68 kB
| import { Link } from 'react-router-dom' | |
| import ArrowLeft from 'lucide-react/dist/esm/icons/arrow-left' | |
| import Layout from '../shared/Layout' | |
| import { SkeletonBlock } from '../shared/Skeletons' | |
| import { Card, CardContent } from '@/components/ui/card' | |
| export default function AdminTestDetailSkeleton() { | |
| return ( | |
| <Layout> | |
| <div className="flex flex-col gap-6 animate-fade-in max-w-3xl"> | |
| <Link to="/admin/tests" className="flex items-center gap-1.5 theme-muted hover:opacity-80 text-sm mb-4 w-fit"> | |
| <ArrowLeft size={15}/> Back to Tests | |
| </Link> | |
| <Card> | |
| <CardContent className="p-5"> | |
| <SkeletonBlock className="h-6 w-3/4 mb-2" /> | |
| <SkeletonBlock className="h-4 w-1/2 mb-4" /> | |
| <div className="flex gap-4"> | |
| <SkeletonBlock className="h-4 w-20" /> | |
| <SkeletonBlock className="h-4 w-24" /> | |
| </div> | |
| </CardContent> | |
| </Card> | |
| <div className="flex flex-col gap-4"> | |
| {[1, 2, 3].map(i => ( | |
| <Card key={i}> | |
| <CardContent className="p-4"> | |
| <SkeletonBlock className="h-4 w-full mb-2" /> | |
| <SkeletonBlock className="h-4 w-5/6 mb-4" /> | |
| <div className="flex flex-col gap-2"> | |
| <SkeletonBlock className="h-8 w-full rounded" /> | |
| <SkeletonBlock className="h-8 w-full rounded" /> | |
| <SkeletonBlock className="h-8 w-full rounded" /> | |
| <SkeletonBlock className="h-8 w-full rounded" /> | |
| </div> | |
| </CardContent> | |
| </Card> | |
| ))} | |
| </div> | |
| </div> | |
| </Layout> | |
| ) | |
| } | |