blob: 9566cfcb6d3d4ec70e61ee696bdec7a5493cc172 (
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
25
|
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'))
const CartComponent = dynamic(() => import('@/lib/cart/components/Cart'))
export default function Cart() {
return (
<>
<MobileView>
<AppLayout title='Keranjang' withFooter={false}>
<CartComponent />
</AppLayout>
</MobileView>
<DesktopView>
<BasicLayout>
<CartComponent />
</BasicLayout>
</DesktopView>
</>
)
}
|