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

function ExploreSection() {
  return (
    <div className="space-y-4">
      <Skeleton className="h-6 w-32" />
      <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4">
        {Array.from({ length: 4 }).map((_, i) => (
          <InfoCardSkeleton key={i} />
        ))}
      </div>
    </div>
  );
}

export default function ExploreLoading() {
  return (
    <div className="space-y-8">
      <Skeleton className="h-12 w-full max-w-xl rounded-md" />
      <ExploreSection />
      <ExploreSection />
    </div>
  );
}
