diff options
| author | trisusilo <tri.susilo@altama.co.id> | 2024-12-03 08:39:10 +0000 |
|---|---|---|
| committer | trisusilo <tri.susilo@altama.co.id> | 2024-12-03 08:39:10 +0000 |
| commit | 2b54406f6afd4ad9ac7909439e62cdafaa1e350b (patch) | |
| tree | d375a2e2d342b8a08736428b8ea8fbecdd37123a /src/lib/brand | |
| parent | 325fe90403cc9febb1017eb27c620e4dd921aa24 (diff) | |
| parent | 57f400411555351f0b96799f5e4493c9c49b68e0 (diff) | |
Merged in CR/optimize_performance_2 (pull request #391)
CR/optimize performance 2
Diffstat (limited to 'src/lib/brand')
| -rw-r--r-- | src/lib/brand/components/BrandCard.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/brand/components/BrandCard.jsx b/src/lib/brand/components/BrandCard.jsx index ebd41a67..dff61b24 100644 --- a/src/lib/brand/components/BrandCard.jsx +++ b/src/lib/brand/components/BrandCard.jsx @@ -11,6 +11,7 @@ const BrandCard = ({ brand }) => { className={`py-1 px-2 border-gray_r-6 flex justify-center items-center hover:scale-110 transition duration-500 ease-in-out ${ isMobile ? 'h-16' : 'h-24' }`} + aria-label={brand.name} > {brand.logo && ( <NextImage @@ -20,6 +21,7 @@ const BrandCard = ({ brand }) => { height={500} quality={85} className='h-full w-[122px] object-contain object-center' + loading='eager' /> )} {!brand.logo && ( |
