Skip to content

Commit

Permalink
fix: add screenshots to manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Pkcarreno committed Jun 3, 2024
1 parent b769360 commit 4e8cf1f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
Binary file added public/desktop-1.jpeg
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/mobile-1.jpeg
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/mobile-2.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,26 @@ export default defineConfig(({ mode }) => {
background_color: '#FDFEFB',
theme_color: '#fdfefb',
description: 'Write, run, and share JavaScript code instantly.',
screenshots: [
{
src: `${process.env.BASE_URL}/desktop-1.jpeg`,
sizes: '1694×930',
type: 'image/jpeg',
form_factor: 'wide',
},
{
src: `${process.env.BASE_URL}/mobile-1.jpeg`,
sizes: '412×915',
type: 'image/jpeg',
form_factor: 'narrow',
},
{
src: `${process.env.BASE_URL}/mobile-2.jpeg`,
sizes: '412×915',
type: 'image/jpeg',
form_factor: 'narrow',
},
],
icons: [
{
src: `${process.env.BASE_URL}/pwa-192x192.png`,
Expand Down

0 comments on commit 4e8cf1f

Please sign in to comment.