Skip to content

Commit

Permalink
(frontend/components): Use webp image format for static images
Browse files Browse the repository at this point in the history
  • Loading branch information
jcxldn committed Aug 24, 2023
1 parent cace46e commit a0eea82
Showing 1 changed file with 2 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

0 comments on commit a0eea82

Please sign in to comment.