diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-07-23 03:27:43 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-07-23 03:27:43 +0000 |
| commit | 3d99b2cfa71194516f6c1505316351ace9b56d66 (patch) | |
| tree | 430e40d11f30464cc82d66451aa0886f9fb7e054 /src/core/components/elements | |
| parent | 1d770053ce0b75eab1d3755085d03c9d32fe3a83 (diff) | |
| parent | 8451ecd350f8138925b6e1deba71733f038cd757 (diff) | |
Merged in Feature/all-promotion (pull request #172)
<iman> update icon all promo navbar
Diffstat (limited to 'src/core/components/elements')
| -rw-r--r-- | src/core/components/elements/Navbar/NavbarDesktop.jsx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/components/elements/Navbar/NavbarDesktop.jsx b/src/core/components/elements/Navbar/NavbarDesktop.jsx index ef6cb84a..af56895f 100644 --- a/src/core/components/elements/Navbar/NavbarDesktop.jsx +++ b/src/core/components/elements/Navbar/NavbarDesktop.jsx @@ -185,12 +185,18 @@ const NavbarDesktop = () => { href="/shop/promo" className={`${ router.asPath === '/shop/promo' && 'bg-gray_r-3' - } p-4 flex-1 flex justify-between items-center !text-gray_r-12/80 hover:bg-gray_r-3 idt-transition group`} + } 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> - <p className={`rounded bg-red-500 font-bold text-white text-[10px] w-auto inline-block p-[2px] group-hover:scale-105 transition-transform duration-200 ${style.blink}`}>NEW!</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> <Link |
