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

