summaryrefslogtreecommitdiff
path: root/src/lib/product/components/ProductSearch.jsx
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2024-02-27 13:16:57 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2024-02-27 13:16:57 +0700
commit756f93807a33bb1398931ae894b071504dfec3b8 (patch)
tree2db517b5c92b798815dac9fbc947c856b38595af /src/lib/product/components/ProductSearch.jsx
parent7a4d2462d05b2cc0e9c66551f1e2c16d4abace2f (diff)
fixing pencarian brand di mobile & active button tab header
Diffstat (limited to 'src/lib/product/components/ProductSearch.jsx')
-rw-r--r--src/lib/product/components/ProductSearch.jsx15
1 files changed, 10 insertions, 5 deletions
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>