This commit is contained in:
ct
2025-07-15 02:28:28 +08:00
parent d245f5f77c
commit 3a2818473c

View File

@@ -0,0 +1,15 @@
import { Skeleton } from "./skeleton";
const GridSkeleton = ({ itemCount = 6 }) => {
return (
<div className="grid grid-cols-2 gap-2 p-2">
{Array.from({ length: itemCount }, (_, index) => (
<div key={index} className="relative">
<div className="aspect-[9/16] w-full rounded-lg bg-gradient-to-r from-gray-200 via-white to-gray-200 bg-[length:200%_100%] animate-shimmer" />
</div>
))}
</div>
);
};
export { GridSkeleton };