Skip to content

Commit

Permalink
Homepage: optimize image 900kb -> 100kb (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
zbycz authored Dec 29, 2023
1 parent 6fa9080 commit f6d20e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file added public/osmapp-screenshot-300px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions src/components/HomepagePanel/HomepagePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,11 @@ export const HomepagePanel = () => {

<Center mb>
<img
src="/osmapp-screenshot.png"
src="/osmapp-screenshot-300px.png"
srcSet="/[email protected] 2x"
alt={t('homepage.screenshot_alt')}
width={300}
height={300 * (1033 / 1371)}
height={226}
/>
</Center>

Expand Down

1 comment on commit f6d20e1

@vercel
Copy link

@vercel vercel bot commented on f6d20e1 Dec 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.