Update
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user