mirror of
https://github.com/prowler-cloud/prowler.git
synced 2025-12-19 05:17:47 +00:00
Co-authored-by: Alan Buscaglia <alanbuscaglia@MacBook-Pro.local> Co-authored-by: alejandrobailo <alejandrobailo94@gmail.com> Co-authored-by: César Arroba <cesar@prowler.com> Co-authored-by: Alejandro Bailo <59607668+alejandrobailo@users.noreply.github.com>
29 lines
875 B
TypeScript
29 lines
875 B
TypeScript
"use client";
|
|
|
|
import { Skeleton } from "@heroui/skeleton";
|
|
|
|
export const HeatmapChartSkeleton = () => {
|
|
return (
|
|
<div className="flex h-[320px] w-[400px] flex-col items-center justify-between lg:w-[400px]">
|
|
{/* Title skeleton */}
|
|
<Skeleton className="h-4 w-36 rounded-lg">
|
|
<div className="bg-default-200 h-4" />
|
|
</Skeleton>
|
|
|
|
{/* Heatmap area skeleton - 3x3 grid like the real component */}
|
|
<div className="h-full w-full p-4">
|
|
<div className="grid h-full w-full grid-cols-3 gap-1">
|
|
{Array.from({ length: 9 }).map((_, index) => (
|
|
<Skeleton
|
|
key={index}
|
|
className="flex items-center justify-center rounded border"
|
|
>
|
|
<div className="bg-default-200 h-full w-full" />
|
|
</Skeleton>
|
|
))}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|