Skip to content

Commit

Permalink
feat: add more web manifest icons
Browse files Browse the repository at this point in the history
  • Loading branch information
damienrobinson committed Nov 24, 2024
1 parent d1046b9 commit 46db3e4
Show file tree
Hide file tree
Showing 9 changed files with 345 additions and 5 deletions.
19 changes: 17 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,25 @@ export default defineNuxtConfig({
start_url: '/',
icons: [
{
src: 'icon.png',
src: 'pwa-64x64.png',
sizes: '64x64',
type: 'image/png',
},
{
src: 'pwa-192x192.png',
sizes: '192x192',
type: 'image/png',
},
{
src: 'pwa-512x512.png',
sizes: '512x512',
type: 'image/png',
},
{
src: 'maskable-icon-512x512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any',
purpose: 'maskable',
},
],
},
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"icons": "ts-node generate-iconify.ts",
"test": "playwright test",
"test:e2e": "yarn run test",
"generate-pwa-assets": "pwa-assets-generator --preset minimal-2023 public/icon.png",
"postinstall": "nuxi prepare"
},
"engines": {
Expand Down Expand Up @@ -81,6 +82,7 @@
"@unlighthouse/cli": "0.4.9",
"@unlighthouse/nuxt": "0.4.9",
"@unocss/nuxt": "0.64.1",
"@vite-pwa/assets-generator": "0.2.6",
"@vite-pwa/nuxt": "0.10.6",
"cspell": "5.9.0",
"eslint": "8.55.0",
Expand Down
Binary file added public/apple-touch-icon-180x180.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 modified public/favicon.ico
Binary file not shown.
Binary file added public/maskable-icon-512x512.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/pwa-192x192.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/pwa-512x512.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/pwa-64x64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 46db3e4

Please sign in to comment.