Skip to content

Commit

Permalink
Add mimeType to sponsors
Browse files Browse the repository at this point in the history
  • Loading branch information
usulpro committed Jun 6, 2022
1 parent 006b8fc commit 64c8a7f
Show file tree
Hide file tree
Showing 5 changed files with 242 additions and 34 deletions.
4 changes: 4 additions & 0 deletions src/fetch-sponsors.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ const queryPages = /* GraphQL */ `
title
site
avatar {
handle
mimeType
url
}
}
Expand Down Expand Up @@ -62,6 +64,8 @@ const fetchData = async (client, vars) => {
category,
alt: title,
img: avatar.url,
imgHandle: avatar.handle,
imgMimeType: avatar.mimeType,
link: site,
width,
}));
Expand Down
Loading

0 comments on commit 64c8a7f

Please sign in to comment.