From 54b3b9670995d62c2e11b761911430e4300fa36e Mon Sep 17 00:00:00 2001
From: "HATEC\\SPVDEV001" <tri.susilo@altama.co.id>
Date: Tue, 19 Sep 2023 17:08:55 +0700
Subject: popup cart

---
 src/core/components/elements/Navbar/NavbarDesktop.jsx | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'src/core/components/elements/Navbar/NavbarDesktop.jsx')

diff --git a/src/core/components/elements/Navbar/NavbarDesktop.jsx b/src/core/components/elements/Navbar/NavbarDesktop.jsx
index 2e4b25fc..2bee64f7 100644
--- a/src/core/components/elements/Navbar/NavbarDesktop.jsx
+++ b/src/core/components/elements/Navbar/NavbarDesktop.jsx
@@ -23,6 +23,7 @@ import { useSession } from 'next-auth/react'
 import { AuthContext } from '@/pages/_app'
 import { TopBannerSkeleton } from '../Skeleton/TopBannerSkeleton'
 import { useProductContext } from '@/contexts/ProductContext'
+import Cardheader from '@/lib/cart/components/Cartheader'
 
 const Search = dynamic(() => import('./Search'))
 const TopBanner = dynamic(() => import('./TopBanner'), {
@@ -101,7 +102,7 @@ const NavbarDesktop = () => {
           <div className='flex-1 flex items-center'>
             <Search />
           </div>
-          <div className='flex gap-x-4'>
+          <div className='flex gap-x-4 items-center'>
             <Link
               href='/my/transactions'
               target='_blank'
@@ -113,7 +114,8 @@ const NavbarDesktop = () => {
               <br />
               Quotation
             </Link>
-            <Link
+            <Cardheader cartCount={cartCount}/>
+            {/* <Link
               href='/shop/cart'
               target='_blank'
               rel='noreferrer'
@@ -132,7 +134,7 @@ const NavbarDesktop = () => {
                 <br />
                 Belanja
               </span>
-            </Link>
+            </Link> */}
             <Link
               target='_blank'
               rel='noreferrer'
-- 
cgit v1.2.3

