From 2b2c1acca225a9d2c4d0e6db6325a95e911bb8ef Mon Sep 17 00:00:00 2001 From: sonnguyenkieio Date: Tue, 14 Sep 2021 14:40:22 +0700 Subject: [PATCH] :sparkles: feat: Checkout Success --- .../CheckoutSuccess/CheckoutSuccess.module.scss | 11 +---------- .../checkout/CheckoutSuccess/CheckoutSuccess.tsx | 14 ++++++-------- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/src/components/modules/checkout/CheckoutSuccess/CheckoutSuccess.module.scss b/src/components/modules/checkout/CheckoutSuccess/CheckoutSuccess.module.scss index 6307f49b7..c7d4b2859 100644 --- a/src/components/modules/checkout/CheckoutSuccess/CheckoutSuccess.module.scss +++ b/src/components/modules/checkout/CheckoutSuccess/CheckoutSuccess.module.scss @@ -31,16 +31,7 @@ } .backToHomeBtn { - @apply flex cursor-pointer font-bold items-center justify-center custom-border-radius; - color: white; - background-color: var(--primary); - margin: auto; - width: fit-content; - padding: 1.6rem 3.2rem 1.6rem 3.2rem; - - .arrowRight { - margin-left: 1.4rem; - } + @apply flex justify-center; } } } diff --git a/src/components/modules/checkout/CheckoutSuccess/CheckoutSuccess.tsx b/src/components/modules/checkout/CheckoutSuccess/CheckoutSuccess.tsx index c9ca54ed4..d82cc9c55 100644 --- a/src/components/modules/checkout/CheckoutSuccess/CheckoutSuccess.tsx +++ b/src/components/modules/checkout/CheckoutSuccess/CheckoutSuccess.tsx @@ -6,6 +6,9 @@ import Link from "next/link"; import checkIcon from './assets/checkIcon.png'; +import { ButtonCommon } from "src/components/common"; +import { IconArrowRight } from "src/components/icons"; + const CheckoutSuccess = () => { return (
@@ -18,17 +21,12 @@ const CheckoutSuccess = () => {
Your purchase has been successed!
Last call! Shop deep deals on 100+ bulk picks while you can.
-
+
- Back to home -
- - - -
+
+ } isIconSuffix={true}>Back to home -