From d528fce32aca0c69ef61a5e7428215237d642eea Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Thu, 25 Jul 2024 09:13:51 +0700 Subject: upade icon navbar semua promo --- public/images/ICON PROMO DISKON.svg | 22 ++++--------- .../components/elements/Navbar/NavbarDesktop.jsx | 36 ++++++++++++---------- 2 files changed, 26 insertions(+), 32 deletions(-) diff --git a/public/images/ICON PROMO DISKON.svg b/public/images/ICON PROMO DISKON.svg index 4e2ce6b4..f7c16ca8 100644 --- a/public/images/ICON PROMO DISKON.svg +++ b/public/images/ICON PROMO DISKON.svg @@ -1,23 +1,13 @@ + viewBox="0 0 163 51" style="enable-background:new 0 0 163 51;" xml:space="preserve"> - -% + +% 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 = () => {
-

Semua Promo

- promo - + 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" + > +

Semua Promo

+
+ promo +
+ +