summaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/shop/checkout/index.jsx17
-rw-r--r--src/pages/shop/quotation/index.jsx17
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>
)
}