summaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-06-14 13:22:20 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-06-14 13:22:20 +0700
commiteb4ae7be05ed97bd02b7f3e9cc56393f435188e2 (patch)
tree6518bdd7b1801f492a6c1588ff828a2c8fa70dd2 /src/pages
parent702f43a7190d65c2370e7019311cc26c2cc0eafd (diff)
layout promotion program di detail product dan layout modal popup
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/shop/cart.jsx23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/pages/shop/cart.jsx b/src/pages/shop/cart.jsx
index e574f14d..a7f2037b 100644
--- a/src/pages/shop/cart.jsx
+++ b/src/pages/shop/cart.jsx
@@ -2,6 +2,7 @@ import Seo from '@/core/components/Seo'
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 dynamic from 'next/dynamic'
const AppLayout = dynamic(() => import('@/core/components/layouts/AppLayout'))
@@ -12,17 +13,19 @@ export default function Cart() {
<>
<Seo title='Keranjang Belanja Indoteknik.com' />
- <MobileView>
- <AppLayout title='Keranjang' withFooter={false}>
- <CartComponent />
- </AppLayout>
- </MobileView>
+ <IsAuth>
+ <MobileView>
+ <AppLayout title='Keranjang' withFooter={false}>
+ <CartComponent />
+ </AppLayout>
+ </MobileView>
- <DesktopView>
- <BasicLayout>
- <CartComponent />
- </BasicLayout>
- </DesktopView>
+ <DesktopView>
+ <BasicLayout>
+ <CartComponent />
+ </BasicLayout>
+ </DesktopView>
+ </IsAuth>
</>
)
}