diff --git a/components/cart/CartItem/CartItem.module.css b/components/cart/CartItem/CartItem.module.css
index 618788020..70d29fc03 100644
--- a/components/cart/CartItem/CartItem.module.css
+++ b/components/cart/CartItem/CartItem.module.css
@@ -10,8 +10,9 @@
.productImage {
position: absolute;
- top: 0;
- left: -10px;
- top: 15px;
transform: scale(1.9);
+ width: 100%;
+ height: 100%;
+ left: 30% !important;
+ top: 30% !important;
}
diff --git a/components/cart/CartItem/CartItem.tsx b/components/cart/CartItem/CartItem.tsx
index f769a4fe1..cb3010d0f 100644
--- a/components/cart/CartItem/CartItem.tsx
+++ b/components/cart/CartItem/CartItem.tsx
@@ -55,18 +55,19 @@ const CartItem = ({
}, [item.quantity])
return (
-
-
+
+
-
-
{item.name}
+
+
{item.name}
increaseQuantity(-1)}>
diff --git a/components/ui/Text/Text.module.css b/components/ui/Text/Text.module.css
index 00c6fcd40..6ccd57a37 100644
--- a/components/ui/Text/Text.module.css
+++ b/components/ui/Text/Text.module.css
@@ -9,3 +9,7 @@
.pageHeading {
@apply pt-1 pb-4 text-2xl leading-7 font-bold text-base tracking-wide;
}
+
+.sectionHeading {
+ @apply pt-1 pb-4 text-base leading-7 text-base tracking-wide uppercase border-b border-accents-2;
+}
diff --git a/components/ui/Text/Text.tsx b/components/ui/Text/Text.tsx
index 546396526..962e3543e 100644
--- a/components/ui/Text/Text.tsx
+++ b/components/ui/Text/Text.tsx
@@ -13,7 +13,7 @@ interface Props {
children: React.ReactNode | any
}
-type Variant = 'heading' | 'body' | 'pageHeading'
+type Variant = 'heading' | 'body' | 'pageHeading' | 'sectionHeading'
const Text: FunctionComponent = ({
style,
@@ -27,6 +27,7 @@ const Text: FunctionComponent = ({
body: 'p',
heading: 'h1',
pageHeading: 'h1',
+ sectionHeading: 'h2',
}
const Component:
@@ -43,6 +44,7 @@ const Text: FunctionComponent = ({
[s.body]: variant === 'body',
[s.heading]: variant === 'heading',
[s.pageHeading]: variant === 'pageHeading',
+ [s.sectionHeading]: variant === 'sectionHeading',
},
className
)}
diff --git a/pages/cart.tsx b/pages/cart.tsx
index 9550c8669..422b32a1d 100644
--- a/pages/cart.tsx
+++ b/pages/cart.tsx
@@ -72,9 +72,8 @@ export default function Cart({}: InferGetStaticPropsType<
) : (
-
- My Cart
-
+
My Cart
+
Review your Order
{items.map((item) => (
))}
-
+
Before you leave, take a look at these items. We picked them just
for you
@@ -98,7 +97,7 @@ export default function Cart({}: InferGetStaticPropsType<
)}
-
+
@@ -122,7 +121,7 @@ export default function Cart({}: InferGetStaticPropsType<
- Proceed to Checkout
+ Confirm Purchase