-
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(frontend): ✨ Add loading component for blog articles (#197)
- Loading branch information
Mads Hermansen
authored and
GitHub
committed
Apr 3, 2024
1 parent
9ea697d
commit 8279999
Showing
1 changed file
with
15 additions
and
0 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 @@ | ||
| import { Skeleton } from "@/components/ui/skeleton"; | ||
| import React from "react"; | ||
|
|
||
| export default function Loading() { | ||
| return ( | ||
| <div className="m-5 flex h-full w-full items-center justify-center"> | ||
| <div className="flex w-4/5 flex-col items-center justify-center gap-4 bg-background p-5"> | ||
| <Skeleton className="h-16 w-full" /> | ||
| <Skeleton className="h-8 w-full" /> | ||
| <Skeleton className="h-96 w-full" /> | ||
| <Skeleton className="h-96 w-1/2" /> | ||
| </div> | ||
| </div> | ||
| ); | ||
| } |