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

export default function AdminErrorBookLoading() {
  return (
    <div className="flex h-full flex-col space-y-8 p-8">
      <div className="space-y-2">
        <Skeleton className="h-8 w-[200px]" />
        <Skeleton className="h-4 w-[300px]" />
      </div>
      <div className="grid gap-4 sm:grid-cols-2 lg:grid-cols-4">
        {Array.from({ length: 4 }).map((_, idx) => (
          <Skeleton key={idx} className="h-[120px] w-full rounded-md" />
        ))}
      </div>
      <div className="grid gap-4 md:grid-cols-2">
        {Array.from({ length: 2 }).map((_, idx) => (
          <Skeleton key={idx} className="h-[300px] w-full rounded-md" />
        ))}
      </div>
      <Skeleton className="h-[400px] w-full rounded-md" />
    </div>
  )
}
