diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-23 17:01:03 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-23 17:01:03 +0700 |
| commit | a49f5a3f968dcc8c84759a382a0762abf0bc758b (patch) | |
| tree | 15f9ee680ab8a9dbfbf2541c8b5f5ab50881ca72 /src/pages | |
| parent | d178a520534af7d1cbcc03134034ad8a2327b461 (diff) | |
cart, checkout, quotation
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/shop/checkout/index.jsx | 17 | ||||
| -rw-r--r-- | src/pages/shop/quotation/index.jsx | 17 |
2 files changed, 28 insertions, 6 deletions
diff --git a/src/pages/shop/checkout/index.jsx b/src/pages/shop/checkout/index.jsx index 015a11b3..30d2c730 100644 --- a/src/pages/shop/checkout/index.jsx +++ b/src/pages/shop/checkout/index.jsx @@ -1,13 +1,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> - <AppLayout title='Checkout'> - <CheckoutComponent /> - </AppLayout> + <MobileView> + <AppLayout title='Checkout'> + <CheckoutComponent /> + </AppLayout> + </MobileView> + + <DesktopView> + <BasicLayout> + <CheckoutComponent /> + </BasicLayout> + </DesktopView> </IsAuth> ) } diff --git a/src/pages/shop/quotation/index.jsx b/src/pages/shop/quotation/index.jsx index ff8b8644..efb35db9 100644 --- a/src/pages/shop/quotation/index.jsx +++ b/src/pages/shop/quotation/index.jsx @@ -1,13 +1,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 QuotationComponent from '@/lib/quotation/components/Quotation' export default function Quotation() { return ( <IsAuth> - <AppLayout title='Quotation'> - <QuotationComponent /> - </AppLayout> + <MobileView> + <AppLayout title='Quotation'> + <QuotationComponent /> + </AppLayout> + </MobileView> + + <DesktopView> + <BasicLayout> + <QuotationComponent /> + </BasicLayout> + </DesktopView> </IsAuth> ) } |
