summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-06-22 12:40:16 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-06-22 12:40:16 +0700
commit138206777970e2a2659d4de0a1a9722038851a14 (patch)
treef1088723ad0e8faca93f0975d7488000d52a3590 /src
parent8456bd17207e349c717d062fcc6fe4d032da1334 (diff)
<iman> update bagian navbar dan judul halaman all promotion
Diffstat (limited to 'src')
-rw-r--r--src/core/components/elements/Navbar/NavbarDesktop.jsx5
-rw-r--r--src/pages/shop/promo/index.jsx2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/core/components/elements/Navbar/NavbarDesktop.jsx b/src/core/components/elements/Navbar/NavbarDesktop.jsx
index 8cb4239c..e73a35ee 100644
--- a/src/core/components/elements/Navbar/NavbarDesktop.jsx
+++ b/src/core/components/elements/Navbar/NavbarDesktop.jsx
@@ -172,7 +172,10 @@ const NavbarDesktop = () => {
<div className='w-6/12 flex px-1 divide-x divide-gray_r-6'>
<Link
href='/shop/promo'
- className='p-4 flex-1 flex justify-center items-center !text-gray_r-12/80 hover:bg-gray_r-3 idt-transition'
+ className={`${
+ router.asPath === '/shop/promo' && 'bg-gray_r-3'
+ } p-4 flex-1 flex justify-center items-center !text-gray_r-12/80 hover:bg-gray_r-3 idt-transition`}
+ // className='p-4 flex-1 flex justify-center items-center !text-gray_r-12/80 hover:bg-gray_r-3 idt-transition'
target='_blank'
rel='noreferrer'
>
diff --git a/src/pages/shop/promo/index.jsx b/src/pages/shop/promo/index.jsx
index 0d831c21..442da742 100644
--- a/src/pages/shop/promo/index.jsx
+++ b/src/pages/shop/promo/index.jsx
@@ -1,3 +1,4 @@
+import Seo from '@/core/components/Seo'
import BasicLayout from '@/core/components/layouts/BasicLayout';
import { Breadcrumb, BreadcrumbItem, BreadcrumbLink } from '@chakra-ui/react';
import Link from 'next/link';
@@ -8,6 +9,7 @@ import React from 'react';
const PromoPage = () => {
return (
<BasicLayout>
+ <Seo title='Promo Indoteknik.com' />
<div className='container mx-auto py-4 md:py-6 pb-0'>
<Breadcrumb>
<BreadcrumbItem>