-
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.
- Made the main element a fixed position -Removed the grid in large viewports Defer the google fonts
- Loading branch information
1 parent
354d4e3
commit 8af57ba
Showing
5 changed files
with
34 additions
and
19 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 |
---|---|---|
|
@@ -6,8 +6,9 @@ | |
<link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
<link | ||
href="https://fonts.googleapis.com/css2?family=Inter:[email protected]&display=swap" | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/css2?family=Inter:[email protected]&display=swap" | ||
defer | ||
/> | ||
<!-- <link | ||
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap" | ||
|
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
export default function DaysForecastSkeleton() { | ||
return ( | ||
<div className="relative grid w-full animate-pulse grid-cols-3 items-center justify-items-center px-2 pb-8 pt-4 text-gray-400 after:absolute after:bottom-0 after:h-px after:w-full after:bg-white after:opacity-20 after:content-['']"> | ||
<div className="h-3 w-[10ch] justify-self-start bg-slate-300"></div> | ||
<div className="h-3 w-[80px] justify-self-start bg-slate-300"></div> | ||
<div className="flex items-center gap-1 justify-self-start"> | ||
<div className="size-7 bg-slate-400"></div> | ||
<div className="h-3 w-[10ch] bg-slate-300"></div> | ||
<div className="size-10 bg-slate-400"></div> | ||
<div className="h-3 w-[100px] bg-slate-300"></div> | ||
</div> | ||
<div className="h-8 w-[7ch] justify-self-end bg-slate-300"></div> | ||
<div className="h-8 w-[8ch] justify-self-end bg-slate-300"></div> | ||
</div> | ||
); | ||
} |