summaryrefslogtreecommitdiff
path: root/src/pages/shop/checkout/index.jsx
blob: 30d2c7300987a38795912f3cad0b815be63aad7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import AppLayout from '@/core/components/layouts/AppLayout'
import BasicLayout from '@/core/components/layouts/BasicLayout'
import DesktopView from '@/core/components/views/DesktopView'
import MobileView from '@/core/components/views/MobileView'
import IsAuth from '@/lib/auth/components/IsAuth'
import CheckoutComponent from '@/lib/checkout/components/Checkout'

export default function Checkout() {
  return (
    <IsAuth>
      <MobileView>
        <AppLayout title='Checkout'>
          <CheckoutComponent />
        </AppLayout>
      </MobileView>

      <DesktopView>
        <BasicLayout>
          <CheckoutComponent />
        </BasicLayout>
      </DesktopView>
    </IsAuth>
  )
}