-
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.
refactor loading components and add loading for edit profiles
- Loading branch information
Showing
3 changed files
with
41 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,41 @@ | ||
import { Skeleton } from '@/components/ui/skeleton'; | ||
|
||
function Loading() { | ||
return ( | ||
<main className="mx-auto flex max-w-3xl flex-col justify-start px-10 py-20"> | ||
<Skeleton className="h-8 w-40" /> | ||
<Skeleton className="mt-3 h-5 w-72" /> | ||
|
||
<section className="mt-9 bg-dark-2 p-10"> | ||
<div className="flex flex-col justify-start gap-10"> | ||
<div className="flex items-center gap-4"> | ||
<Skeleton className="h-24 w-24 rounded-full" /> | ||
<div className="flex-1"> | ||
<Skeleton className="h-6 w-40" /> | ||
<Skeleton className="mt-2 h-4 w-20" /> | ||
</div> | ||
</div> | ||
|
||
<div className="flex w-full flex-col gap-3"> | ||
<Skeleton className="h-5 w-20" /> | ||
<Skeleton className="h-10 w-full" /> | ||
</div> | ||
|
||
<div className="flex w-full flex-col gap-3"> | ||
<Skeleton className="h-5 w-20" /> | ||
<Skeleton className="h-10 w-full" /> | ||
</div> | ||
|
||
<div className="flex w-full flex-col gap-3"> | ||
<Skeleton className="h-5 w-20" /> | ||
<Skeleton className="h-32 w-full" /> | ||
</div> | ||
|
||
<Skeleton className="h-10 w-full" /> | ||
</div> | ||
</section> | ||
</main> | ||
); | ||
} | ||
|
||
export default Loading; |
File renamed without changes.
File renamed without changes.