Skip to content

Commit

Permalink
feat: add next Image component for better performance
Browse files Browse the repository at this point in the history
  • Loading branch information
stpn48 committed Sep 6, 2024
1 parent c0c8df7 commit c17fcbd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/app/TechnologiesUsing.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Image from "next/image";

const technologies = [
{ name: "React", imgSrc: "/reactLogo.svg", https: "https://reactjs.org" },
{
Expand Down Expand Up @@ -35,7 +37,12 @@ export function TechnologiesUsing() {
target="_blank"
rel="noopener noreferrer"
>
<img src={technology.imgSrc} alt="React Logo" />
<Image
src={technology.imgSrc}
alt={technology.name}
width={28}
height={28}
/>
</a>
))}
</div>
Expand Down

0 comments on commit c17fcbd

Please sign in to comment.