refactor: Replace Next.js Image component with a standard img tag and apply styling via className.
This commit is contained in:
@@ -217,11 +217,11 @@ export default function AboutPage() {
|
|||||||
>
|
>
|
||||||
{feature.iconPath && (
|
{feature.iconPath && (
|
||||||
<div className="w-[60px] h-[60px] bg-[#e58625]/10 rounded-full flex items-center justify-center mx-auto mb-4">
|
<div className="w-[60px] h-[60px] bg-[#e58625]/10 rounded-full flex items-center justify-center mx-auto mb-4">
|
||||||
<Image
|
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||||
|
<img
|
||||||
src={feature.iconPath}
|
src={feature.iconPath}
|
||||||
alt=""
|
alt=""
|
||||||
width={28}
|
className="w-7 h-7 object-contain"
|
||||||
height={28}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user