import { Skeleton } from "@/components/ui/skeleton"
import { BottomNav } from "@/components/bottom-nav"

export default function PlaylistLoading() {
  return (
    <div className="min-h-screen bg-background pb-24">
      <div className="p-4">
        <Skeleton className="h-6 w-6" />
      </div>
      <div className="flex flex-col items-center px-4 pb-6">
        <Skeleton className="mb-4 h-40 w-40 rounded-xl" />
        <Skeleton className="mb-2 h-6 w-32" />
        <Skeleton className="mb-1 h-4 w-20" />
        <Skeleton className="h-4 w-28" />
      </div>
      <div className="mx-auto max-w-md space-y-2 px-4">
        {Array.from({ length: 6 }).map((_, i) => (
          <Skeleton key={i} className="h-16 w-full rounded-lg" />
        ))}
      </div>
      <BottomNav />
    </div>
  )
}
