From d528fce32aca0c69ef61a5e7428215237d642eea Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Thu, 25 Jul 2024 09:13:51 +0700
Subject: <iman> upade icon navbar semua promo

---
 .../components/elements/Navbar/NavbarDesktop.jsx   | 36 ++++++++++++----------
 1 file changed, 20 insertions(+), 16 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 967b6f62..8a84f6e8 100644
--- a/src/core/components/elements/Navbar/NavbarDesktop.jsx
+++ b/src/core/components/elements/Navbar/NavbarDesktop.jsx
@@ -172,22 +172,26 @@ const NavbarDesktop = () => {
             </button>
             <div className='w-6/12 flex px-1 divide-x divide-gray_r-6'>
             <Link
-              href="/shop/promo"
-              className={`${
-                router.asPath === '/shop/promo' && 'bg-gray_r-3'
-              }  flex-1 flex justify-center items-center !text-gray_r-12/80 hover:bg-gray_r-3 idt-transition group`}
-              target="_blank"
-              rel="noreferrer"
-            >
-              <p className="group-hover:scale-105 group-hover:text-red-500 transition-transform duration-200">Semua Promo</p>
-                <Image
-                src='/images/ICON PROMO DISKON.svg'
-                alt='promo'
-                width={40}
-                height={40}
-                className={` inline-block group-hover:scale-105 transition-transform duration-200 ${style.blink}`}
-                />
-            </Link>
+                href="/shop/promo"
+                className={`${
+                  router.asPath === '/shop/promo' && 'bg-gray_r-3'
+                }  flex-1 flex justify-center items-center !text-gray_r-12/80 hover:bg-gray_r-3 idt-transition group relative`} // Added relative position
+                target="_blank"
+                rel="noreferrer"
+              >
+                <p className="absolute inset-0 flex justify-center items-center group-hover:scale-105 group-hover:text-red-500 transition-transform duration-200 z-10">Semua Promo</p>
+                <div className='w-full h-full flex justify-end items-start'> 
+                  <Image
+                    src='/images/ICON PROMO DISKON.svg'
+                    alt='promo'
+                    width={100}
+                    height={100}
+                    quality={100}
+                    className={`inline-block  z-20`}
+                  />
+                </div>
+              </Link>
+
 
               <Link
                 href='/shop/brands'
-- 
cgit v1.2.3

