This commit is contained in:
ct
2025-07-15 02:38:23 +08:00
parent 3a2818473c
commit d57c75d5d7
4 changed files with 135 additions and 58 deletions

View File

@@ -5,7 +5,7 @@ const GridSkeleton = ({ itemCount = 6 }) => {
<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 className="aspect-[9/16] w-full rounded-lg bg-gradient-to-r from-muted via-background to-muted bg-[length:200%_100%] animate-shimmer" />
</div>
))}
</div>