mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 00:08:26 -04:00
add maskable icons to manifest
https://web.dev/maskable-icon-audit/?utm_source=lighthouse&utm_medium=cli
This commit is contained in:
parent
a2445d236d
commit
8eda53296f
@ -21,10 +21,10 @@
|
||||
"uses-optimized-images": "warn",
|
||||
"uses-rel-preconnect": "warn",
|
||||
"is-crawlable": "off",
|
||||
"modern-image-formats": "off",
|
||||
"offscreen-images": "off",
|
||||
"uses-long-cache-ttl": "off",
|
||||
"uses-responsive-images": "off",
|
||||
"uses-webp-images": "off"
|
||||
"uses-responsive-images": "off"
|
||||
},
|
||||
"includePassedAssertions": true
|
||||
},
|
||||
|
BIN
assets/img/maskable-192x192.png
Normal file
BIN
assets/img/maskable-192x192.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
BIN
assets/img/maskable-512x512.png
Normal file
BIN
assets/img/maskable-512x512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.9 KiB |
@ -5,12 +5,26 @@
|
||||
{
|
||||
"src": "{{ (resources.Get "img/android-chrome-512x512.png").Permalink | safeJS }}",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "{{ (resources.Get "img/android-chrome-192x192.png").Permalink | safeJS }}",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "{{ (resources.Get "img/maskable-512x512.png").Permalink | safeJS }}",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "{{ (resources.Get "img/maskable-192x192.png").Permalink | safeJS }}",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
}
|
||||
],
|
||||
"start_url": "{{ .Site.BaseURL | safeJS }}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user