-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
26 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
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,20 @@ | ||
import Skeleton from "~/ui/components/feedback/skeleton"; | ||
|
||
export default function LoadingPage() { | ||
return ( | ||
<div className="p-4"> | ||
<div className="flex items-center justify-between gap-4"> | ||
<Skeleton className="h-10 w-full max-w-xs" /> | ||
<div className="flex space-x-2"> | ||
<Skeleton className="h-10 w-10 rounded-md" /> | ||
<Skeleton className="h-10 w-10 rounded-md" /> | ||
</div> | ||
</div> | ||
<div className="mt-4 flex flex-col gap-4"> | ||
{Array.from({length: 3}).map((_, index) => ( | ||
<Skeleton key={index} className="h-24 w-full rounded-md" /> | ||
))} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {cn} from "../../utils"; | ||
|
||
export default function Skeleton({className, ...props}: React.HTMLAttributes<HTMLDivElement>) { | ||
return <div className={cn("animate-pulse rounded-md bg-muted", className)} {...props} />; | ||
} |
f2c8b5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
store – ./
store.goncy.dev
store.gonzalopozzo.com
store-goncy.vercel.app
store-git-main-goncy.vercel.app
f2c8b5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
delicious – ./
delicious-goncy.vercel.app
delicious-git-main-goncy.vercel.app
delicious.gonzalopozzo.com
deliciousbernal.vercel.app
delicious.goncy.dev
f2c8b5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
papito – ./
papito-goncy.vercel.app
papito-git-main-goncy.vercel.app
papito.goncy.dev
papito.vercel.app
papito.gonzalopozzo.com