Skip to content

Commit d266840

Browse files
committed
feat: add image optimization using api
1 parent 242edde commit d266840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Contributors/ContCard.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const ContCard = (props) => {
1919
className={styles.card}
2020
onClick={() => openContributorProfile(profile)}
2121
>
22-
<img className={styles.profile} src={image} alt='Contributor' />
22+
<img className={styles.profile} src={`https://images.weserv.nl/?output=webp&url=${image}`} alt='Contributor' />
2323
<div className={styles.content}>
2424
<h1 className={styles.text}>{title}</h1>
2525
<p>

0 commit comments

Comments
 (0)