diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-29 17:02:57 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-29 17:02:57 +0700 |
| commit | 72329fb20c3bc7703590b85bd0c42ea32e7cfe61 (patch) | |
| tree | a5ad3074010154cf6d105a81f1175da844c0a798 /src/pages/shop/checkout | |
| parent | 0d42449cdd6e53cb8e98555660aefee81997a9d3 (diff) | |
SEO
Diffstat (limited to 'src/pages/shop/checkout')
| -rw-r--r-- | src/pages/shop/checkout/[status].jsx | 15 | ||||
| -rw-r--r-- | src/pages/shop/checkout/index.jsx | 29 |
2 files changed, 27 insertions, 17 deletions
diff --git a/src/pages/shop/checkout/[status].jsx b/src/pages/shop/checkout/[status].jsx index bf184c0e..7c39718c 100644 --- a/src/pages/shop/checkout/[status].jsx +++ b/src/pages/shop/checkout/[status].jsx @@ -3,6 +3,7 @@ import IsAuth from '@/lib/auth/components/IsAuth' import FinishCheckoutComponent from '@/lib/checkout/components/FinishCheckout' import { useRouter } from 'next/router' import axios from 'axios' +import Seo from '@/core/components/Seo' export async function getServerSideProps(context) { const { order_id } = context.query @@ -18,10 +19,14 @@ export default function Finish() { const router = useRouter() return ( - <IsAuth> - <BasicLayout> - <FinishCheckoutComponent query={router.query || {}} /> - </BasicLayout> - </IsAuth> + <> + <Seo title='Checkout Indoteknik.com' /> + + <IsAuth> + <BasicLayout> + <FinishCheckoutComponent query={router.query || {}} /> + </BasicLayout> + </IsAuth> + </> ) } diff --git a/src/pages/shop/checkout/index.jsx b/src/pages/shop/checkout/index.jsx index 30d2c730..13fc7056 100644 --- a/src/pages/shop/checkout/index.jsx +++ b/src/pages/shop/checkout/index.jsx @@ -1,3 +1,4 @@ +import Seo from '@/core/components/Seo' import AppLayout from '@/core/components/layouts/AppLayout' import BasicLayout from '@/core/components/layouts/BasicLayout' import DesktopView from '@/core/components/views/DesktopView' @@ -7,18 +8,22 @@ import CheckoutComponent from '@/lib/checkout/components/Checkout' export default function Checkout() { return ( - <IsAuth> - <MobileView> - <AppLayout title='Checkout'> - <CheckoutComponent /> - </AppLayout> - </MobileView> + <> + <Seo title='Checkout Indoteknik.com' /> - <DesktopView> - <BasicLayout> - <CheckoutComponent /> - </BasicLayout> - </DesktopView> - </IsAuth> + <IsAuth> + <MobileView> + <AppLayout title='Checkout'> + <CheckoutComponent /> + </AppLayout> + </MobileView> + + <DesktopView> + <BasicLayout> + <CheckoutComponent /> + </BasicLayout> + </DesktopView> + </IsAuth> + </> ) } |
