forked from crowetic/commerce
Changes
This commit is contained in:
parent
836ff1cea2
commit
daaa2a483f
@ -33,7 +33,7 @@ const CartSidebarView: FC = () => {
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={cn('h-full flex flex-col', {
|
className={cn('h-full flex flex-col', {
|
||||||
'bg-white text-black': isEmpty,
|
'bg-secondary text-secondary': isEmpty,
|
||||||
'bg-red text-white': error,
|
'bg-red text-white': error,
|
||||||
'bg-green text-white': success,
|
'bg-green text-white': success,
|
||||||
})}
|
})}
|
||||||
@ -57,7 +57,7 @@ const CartSidebarView: FC = () => {
|
|||||||
|
|
||||||
{isEmpty ? (
|
{isEmpty ? (
|
||||||
<div className="flex-1 px-4 flex flex-col justify-center items-center ">
|
<div className="flex-1 px-4 flex flex-col justify-center items-center ">
|
||||||
<span className="border border-dashed border-black rounded-full flex items-center justify-center w-16 h-16 p-12 bg-white text-black">
|
<span className="border border-dashed border-primary rounded-full flex items-center justify-center w-16 h-16 p-12 bg-secondary text-secondary">
|
||||||
<Bag className="absolute" />
|
<Bag className="absolute" />
|
||||||
</span>
|
</span>
|
||||||
<h2 className="pt-6 text-2xl font-bold tracking-wide text-center">
|
<h2 className="pt-6 text-2xl font-bold tracking-wide text-center">
|
||||||
|
@ -41,14 +41,14 @@ export default function Cart({}: InferGetStaticPropsType<
|
|||||||
<div className="grid lg:grid-cols-12">
|
<div className="grid lg:grid-cols-12">
|
||||||
<div className="lg:col-span-8">
|
<div className="lg:col-span-8">
|
||||||
{isEmpty ? (
|
{isEmpty ? (
|
||||||
<div className="flex-1 px-4 flex flex-col justify-center items-center ">
|
<div className="flex-1 px-12 py-24 flex flex-col justify-center items-center ">
|
||||||
<span className="border border-dashed border-white rounded-full flex items-center justify-center w-16 h-16 bg-black p-12 rounded-lg text-white">
|
<span className="border border-dashed border-secondary rounded-full flex items-center justify-center w-16 h-16 bg-primary p-12 rounded-lg text-primary">
|
||||||
<Bag className="absolute" />
|
<Bag className="absolute" />
|
||||||
</span>
|
</span>
|
||||||
<h2 className="pt-6 text-2xl font-bold tracking-wide text-center">
|
<h2 className="pt-6 text-2xl font-bold tracking-wide text-center">
|
||||||
Your cart is empty
|
Your cart is empty
|
||||||
</h2>
|
</h2>
|
||||||
<p className="text-accents-2 px-10 text-center pt-2">
|
<p className="text-accents-6 px-10 text-center pt-2">
|
||||||
Biscuit oat cake wafer icing ice cream tiramisu pudding cupcake.
|
Biscuit oat cake wafer icing ice cream tiramisu pudding cupcake.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user