-
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.
- Loading branch information
david emioma
committed
Apr 23, 2024
1 parent
1cc0a22
commit 4f2df2c
Showing
3 changed files
with
96 additions
and
43 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,40 @@ | ||
"use client"; | ||
|
||
import React from "react"; | ||
import { Skeleton } from "./ui/skeleton"; | ||
|
||
const CheckoutSkeleton = () => { | ||
return ( | ||
<div className="bg-white p-5 space-y-4 rounded-lg border-none shadow-sm"> | ||
<div className="flex items-center justify-between gap-3"> | ||
<div className="flex flex-1 items-center gap-2"> | ||
<Skeleton className="w-16 h-16 sm:w-20 sm:h-20 md:w-24 md:h-24 rounded-lg" /> | ||
|
||
<div className="flex flex-col gap-0.5"> | ||
<Skeleton className="w-20 h-4 rounded-lg" /> | ||
|
||
<Skeleton className="w-20 h-4 rounded-lg" /> | ||
|
||
<Skeleton className="w-20 h-4 rounded-lg" /> | ||
</div> | ||
</div> | ||
|
||
<Skeleton className="w-20 h-4 rounded-lg" /> | ||
</div> | ||
|
||
<div className="flex items-center justify-between gap-4"> | ||
<div className="flex items-center gap-1"> | ||
<Skeleton className="w-10 h-10 rounded-lg" /> | ||
|
||
<Skeleton className="w-10 h-4 rounded-lg" /> | ||
|
||
<Skeleton className="w-10 h-10 rounded-lg" /> | ||
</div> | ||
|
||
<Skeleton className="w-36 h-10 rounded-lg" /> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default CheckoutSkeleton; |
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