diff options
| author | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2024-02-27 13:16:57 +0700 |
|---|---|---|
| committer | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2024-02-27 13:16:57 +0700 |
| commit | 756f93807a33bb1398931ae894b071504dfec3b8 (patch) | |
| tree | 2db517b5c92b798815dac9fbc947c856b38595af /src/lib/product/components | |
| parent | 7a4d2462d05b2cc0e9c66551f1e2c16d4abace2f (diff) | |
fixing pencarian brand di mobile & active button tab header
Diffstat (limited to 'src/lib/product/components')
| -rw-r--r-- | src/lib/product/components/ProductSearch.jsx | 15 |
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> |
