()
| 2 | import { Card, CardContent } from "../../components/ui/card"; |
| 3 | |
| 4 | const ReportLoading = () => { |
| 5 | return ( |
| 6 | <div className="flex h-screen w-full items-center justify-center bg-gradient-to-b from-background to-background/80"> |
| 7 | <div className="text-center max-w-md px-4"> |
| 8 | <Card className="border shadow-md overflow-hidden"> |
| 9 | <CardContent className="pt-10 pb-8 flex flex-col items-center"> |
| 10 | <div className="relative mb-8"> |
| 11 | <Loader2 className="h-16 w-16 animate-spin text-primary" /> |
| 12 | <div className="absolute inset-0 h-16 w-16 rounded-full blur-xl bg-primary/20 animate-pulse"></div> |
| 13 | </div> |
| 14 | <div className="mb-6 space-y-4 text-center"> |
| 15 | <h2 className="text-xl font-semibold">正在生成 GitHub 报告</h2> |
| 16 | </div> |
| 17 | <div className="space-y-4 w-full"> |
| 18 | <div className="h-2 bg-muted rounded-full overflow-hidden"> |
| 19 | <div className="h-full bg-primary w-full animate-pulse rounded-full"></div> |
| 20 | </div> |
| 21 | <p className="text-sm text-muted-foreground"> |
| 22 | 正在分析你的 GitHub 数据,这可能需要约 10 秒... |
| 23 | </p> |
| 24 | </div> |
| 25 | </CardContent> |
| 26 | </Card> |
| 27 | </div> |
| 28 | </div> |
| 29 | ); |
| 30 | }; |
| 31 | |
| 32 | export default ReportLoading; |
nothing calls this directly
no outgoing calls
no test coverage detected