mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-04 15:04:24 +01:00
change: categories skeletons
This commit is contained in:
@@ -24,7 +24,12 @@ export default function Categories() {
|
||||
if (loading || !data)
|
||||
return <div className="flex gap-12">
|
||||
{Array(5).fill(0).map((_, idx) =>
|
||||
<Badge key={idx} isLoading></Badge>
|
||||
<div
|
||||
key={idx}
|
||||
className=' block p-16 rounded-16 bg-gray-100 active:scale-90 transition-transform'
|
||||
>
|
||||
<span className="opacity-0">category</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user