summaryrefslogtreecommitdiff
path: root/src/lib/brand/components
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2024-04-23 11:58:22 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2024-04-23 11:58:22 +0700
commit6a2b568b5401be4fd07c09b72ce972a4b2a43708 (patch)
treecbb936493ca56eda492f6ee5ea4553421f27f35c /src/lib/brand/components
parent20529ce0768e8463cf18c2c3b6377d863ec71143 (diff)
Fix image on brand card
Diffstat (limited to 'src/lib/brand/components')
-rw-r--r--src/lib/brand/components/BrandCard.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/brand/components/BrandCard.jsx b/src/lib/brand/components/BrandCard.jsx
index bb1a17f7..731214ff 100644
--- a/src/lib/brand/components/BrandCard.jsx
+++ b/src/lib/brand/components/BrandCard.jsx
@@ -1,4 +1,4 @@
-import Image from '@/core/components/elements/Image/Image'
+import Image from '~/components/ui/image'
import Link from '@/core/components/elements/Link/Link'
import useDevice from '@/core/hooks/useDevice'
import { createSlug } from '@/core/utils/slug'
@@ -16,6 +16,8 @@ const BrandCard = ({ brand }) => {
<Image
src={brand.logo}
alt={brand.name}
+ width={128}
+ height={128}
className='h-full w-full object-contain object-center'
/>
)}