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 -