-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Skeleton loading component to Games component
- Loading branch information
1 parent
243c250
commit 81802ee
Showing
2 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export default function Skeleton() { | ||
return ( | ||
<div className="animate-pulse flex px-2 flex-col gap-4 justify-start items-center w-full"> | ||
<div className=" bg-neutral-300 h-40 aspect-video rounded-md "></div> | ||
<div className=" bg-neutral-300 h-3 rounded-sm aspect-video w-full "></div> | ||
<div className=" flex flex-row gap-3 w-full "> | ||
<div className=" bg-neutral-300 h-3 rounded-sm aspect-video w-10 "></div> | ||
<div className=" bg-neutral-300 h-3 rounded-sm aspect-video w-10 "></div> | ||
<div className=" bg-neutral-300 h-3 rounded-sm aspect-video w-10 "></div> | ||
</div> | ||
<div className=" bg-neutral-300 h-9 rounded-sm aspect-video w-full "></div> | ||
|
||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters