From d178a520534af7d1cbcc03134034ad8a2327b461 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 20 Mar 2023 17:14:16 +0700
Subject: product detail and cart header

---
 src/pages/shop/cart.jsx | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)

(limited to 'src/pages/shop/cart.jsx')

diff --git a/src/pages/shop/cart.jsx b/src/pages/shop/cart.jsx
index 7e78f215..9566cfcb 100644
--- a/src/pages/shop/cart.jsx
+++ b/src/pages/shop/cart.jsx
@@ -1,3 +1,6 @@
+import BasicLayout from '@/core/components/layouts/BasicLayout'
+import DesktopView from '@/core/components/views/DesktopView'
+import MobileView from '@/core/components/views/MobileView'
 import dynamic from 'next/dynamic'
 
 const AppLayout = dynamic(() => import('@/core/components/layouts/AppLayout'))
@@ -5,11 +8,18 @@ const CartComponent = dynamic(() => import('@/lib/cart/components/Cart'))
 
 export default function Cart() {
   return (
-    <AppLayout
-      title='Keranjang'
-      withFooter={false}
-    >
-      <CartComponent />
-    </AppLayout>
+    <>
+      <MobileView>
+        <AppLayout title='Keranjang' withFooter={false}>
+          <CartComponent />
+        </AppLayout>
+      </MobileView>
+
+      <DesktopView>
+        <BasicLayout>
+          <CartComponent />
+        </BasicLayout>
+      </DesktopView>
+    </>
   )
 }
-- 
cgit v1.2.3

