Skip to content

Commit

Permalink
Convert static images to RP2040
Browse files Browse the repository at this point in the history
TODO: Use gatsby-image instead
  • Loading branch information
jcxldn committed Aug 19, 2023
1 parent 3399515 commit 7ae48c0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/deviceTypeSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ export default class DeviceTypeSection extends React.Component<DeviceTypeSection
switch (this.props.deviceType.getDeviceType()) {
case DeviceTypes.REV_1: {
boardFriendlyName = "Genoswitch Measurement Platform Rev. 1";
imgSrc = "./RP2040.jpg";
imgSrc = "./RP2040.webp";
break;
}
default: {
boardFriendlyName = "Generic Development Board";
imgSrc = "./Raspberry_Pi_Pico_top_and_bottom_composite.jpg";
imgSrc = "./Raspberry_Pi_Pico_top_and_bottom_composite.webp";
break;
}
}
Expand Down
Binary file removed frontend/static/RP2040.jpg
Binary file not shown.
Binary file added frontend/static/RP2040.webp
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ https://commons.wikimedia.org/wiki/File:RP2040.jpg
Creative Commons Attribution-Share Alike 4.0 International.

(c) 2023 Phiarc.

---

Converted to WebP using GIMP.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ https://commons.wikimedia.org/wiki/File:Raspberry_Pi_Pico_top_and_bottom_composi
Creative Commons Attribution-Share Alike 4.0 International.

(c) 2023 Phiarc.

---

Converted to sRGB in GIMP.
Then converted to WebP using GIMP.

0 comments on commit 7ae48c0

Please sign in to comment.