From 756f93807a33bb1398931ae894b071504dfec3b8 Mon Sep 17 00:00:00 2001
From: "HATEC\\SPVDEV001" <tri.susilo@altama.co.id>
Date: Tue, 27 Feb 2024 13:16:57 +0700
Subject: fixing pencarian brand di mobile & active button tab header

---
 src/lib/product/components/ProductSearch.jsx | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

(limited to 'src/lib/product/components/ProductSearch.jsx')

diff --git a/src/lib/product/components/ProductSearch.jsx b/src/lib/product/components/ProductSearch.jsx
index b3fdf888..ee4ec2de 100644
--- a/src/lib/product/components/ProductSearch.jsx
+++ b/src/lib/product/components/ProductSearch.jsx
@@ -268,11 +268,16 @@ const ProductSearch = ({
               <h1 className='mb-2 font-semibold text-h-sm'>
                 Brand Pencarian {q}
               </h1>
-              <Image
-                src={isBrand?.logo}
-                alt=''
-                className='object-cover object-center h-[60px]'
-              />
+              <Link
+                href={createSlug('/shop/brands/', isBrand.name, isBrand.id)}
+                className='inline'
+              >
+                <Image
+                  src={isBrand?.logo}
+                  alt=''
+                  className='object-cover object-center h-[60px]'
+                />
+              </Link>
             </div>
           )}
           <h1 className='mb-2 font-semibold text-h-sm'>Produk</h1>
-- 
cgit v1.2.3


From 59e4c1cf1b45497bc98cbc13c57e33e1a256a22e Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Thu, 25 Apr 2024 11:33:09 +0700
Subject: Add side and bottom banner on search

---
 src/lib/product/components/ProductSearch.jsx | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'src/lib/product/components/ProductSearch.jsx')

diff --git a/src/lib/product/components/ProductSearch.jsx b/src/lib/product/components/ProductSearch.jsx
index ee4ec2de..08b64c13 100644
--- a/src/lib/product/components/ProductSearch.jsx
+++ b/src/lib/product/components/ProductSearch.jsx
@@ -24,6 +24,9 @@ import ProductFilter from './ProductFilter';
 import ProductFilterDesktop from './ProductFilterDesktop';
 import ProductSearchSkeleton from './Skeleton/ProductSearchSkeleton';
 
+import SideBanner from '~/modules/side-banner';
+import FooterBanner from '~/modules/footer-banner';
+
 const ProductSearch = ({
   query,
   prefixUrl,
@@ -401,6 +404,10 @@ const ProductSearch = ({
               prefixUrl={prefixUrl}
               defaultBrand={defaultBrand}
             />
+
+            <div className='h-6' />
+
+            <SideBanner />
           </div>
           <div className='w-9/12 pl-6'>
             {bannerPromotionHeader && bannerPromotionHeader?.image && (
@@ -552,6 +559,7 @@ const ProductSearch = ({
                 />
               </div>
             )}
+            <FooterBanner />
           </div>
         </div>
       </DesktopView>
-- 
cgit v1.2.3


From e3e3fe8d87130fcd1872046de0160272b6ea9763 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Fri, 14 Jun 2024 15:15:30 +0700
Subject: <iman> update promotion-program

---
 src/lib/product/components/ProductSearch.jsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/lib/product/components/ProductSearch.jsx')

diff --git a/src/lib/product/components/ProductSearch.jsx b/src/lib/product/components/ProductSearch.jsx
index 08b64c13..ec0077c2 100644
--- a/src/lib/product/components/ProductSearch.jsx
+++ b/src/lib/product/components/ProductSearch.jsx
@@ -130,6 +130,7 @@ const ProductSearch = ({
       brands.push({ brand, qty });
     }
   }
+  console.log("daftar brand",brands)
 
   const categories = [];
   for (
@@ -144,6 +145,7 @@ const ProductSearch = ({
       categories.push({ name, qty });
     }
   }
+  console.log("daftar kategori",categories)
 
   const orderOptions = [
     { value: 'price-asc', label: 'Harga Terendah' },
-- 
cgit v1.2.3

