Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… into feat/add-prettier
  • Loading branch information
ashmit-coder committed Jul 8, 2024
2 parents 856878c + 788bc04 commit 0a1efc7
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions components/Sponsors/sponsors.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import React from "react";
import Heading from "../Typography/heading";
import Paragraph from "../Typography/paragraph";
import Image from "next/image";

function Sponsors({ imgs }) {
return (
Expand All @@ -24,7 +25,7 @@ function Sponsors({ imgs }) {
{imgs &&
imgs.map((img) => (
<div key={img} className="w-[300px] h-[150px] flex items-center">
<img src={img} alt={img} className="" />
<Image src={img} alt={img} height={210} width={300} />
</div>
))}
</div>
Expand All @@ -35,8 +36,12 @@ function Sponsors({ imgs }) {
>
Financial Sponsor
</Heading>

<img src="/img/graviteeio.svg" alt="financial sponsor" width={250} />
<Image
src="/img/graviteeio.svg"
alt="financial sponsor"
width={250}
height={50}
/>
</div>
</div>
</div>
Expand Down

0 comments on commit 0a1efc7

Please sign in to comment.