import { Skeleton } from "@/shared/components/ui/skeleton"

/**
 * student/learning/assignments/[assignmentId]/result/loading.tsx
 * 学生作业结果页骨架屏：标题 + 分数汇总卡片 + 错题预览骨架。
 */
export default function Loading() {
  return (
    <div className="flex h-full flex-col space-y-6 p-8">
      <div className="space-y-2">
        <Skeleton className="h-8 w-48" />
        <Skeleton className="h-4 w-64" />
      </div>
      <div className="grid gap-4 md:grid-cols-3">
        <Skeleton className="h-32 w-full" />
        <Skeleton className="h-32 w-full" />
        <Skeleton className="h-32 w-full" />
      </div>
      <Skeleton className="h-64 w-full" />
    </div>
  )
}
