-
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.
feat: Skeleton for Country Insights in Country View on mobile (#147)
- Loading branch information
1 parent
dd4f9d9
commit d3194d6
Showing
5 changed files
with
50 additions
and
20 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,17 @@ | ||
import { Skeleton } from '@nextui-org/skeleton'; | ||
|
||
export default function AccordionModalSkeleton() { | ||
return ( | ||
<div className="absolute bottom-10 right-28 z-9999"> | ||
{/* For screens smaller than 450px */} | ||
<div className="block sm450:hidden sm700:hidden"> | ||
<Skeleton className="rounded-full w-[40px] h-[40px] bg-content1 dark:bg-content1" /> | ||
</div> | ||
|
||
{/* For screens between 450px and 700px */} | ||
<div className="hidden sm450:block sm700:hidden"> | ||
<Skeleton className="rounded-xl w-[112px] h-[40px] bg-content1 dark:bg-content1" /> | ||
</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
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
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
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 |
---|---|---|
|
@@ -64,6 +64,7 @@ const config = { | |
}, | ||
screens: { | ||
sm700: '700px', | ||
sm450: '450px', | ||
}, | ||
width: { | ||
'215px': '215px', | ||
|