diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-07-20 11:45:41 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-07-20 11:45:41 +0700 |
| commit | d6b459b3ea396775fae25b44d34c8dc724379224 (patch) | |
| tree | 0cb15bae60b8339fbb9947c14938c758c749cedb /src/lib/home/components/CategoryPilihan.jsx | |
| parent | 911e0fdc6beb2f97c7e390a6aec5773202189d68 (diff) | |
<iman> update mobile view
Diffstat (limited to 'src/lib/home/components/CategoryPilihan.jsx')
| -rw-r--r-- | src/lib/home/components/CategoryPilihan.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/home/components/CategoryPilihan.jsx b/src/lib/home/components/CategoryPilihan.jsx index 4a1106b0..409a8918 100644 --- a/src/lib/home/components/CategoryPilihan.jsx +++ b/src/lib/home/components/CategoryPilihan.jsx @@ -43,7 +43,7 @@ const CategoryPilihan = ({ id, categories }) => { <div className='KartuB absolute h-48 w-60 inset-0 flex items-center justify-center '> <div className="group/edit flex items-center justify-center h-48 w-60 flex-col group-hover/item:visible"> <div className=' h-36'> - <Image className='group-hover:scale-110 transition-transform duration-300' src='https://erp.indoteknik.com/api/image/product.template/image_256/544371?ratio=square' width={120} height={120} alt={category?.name} /> + <Image className='group-hover:scale-110 transition-transform duration-300' src={category?.image_1920? category?.image_1920 : '/images/noimage.jpeg'} width={120} height={120} alt={category?.name} /> </div> <h2 className="text-gray-700 content-center h-12 border-t-[1px] px-1 w-60 border-gray-200 font-normal text-sm text-center">{category?.name}</h2> </div> |
