Attempt to fix PWA-icon

This commit is contained in:
pietervdvn 2022-04-30 14:37:25 +02:00
parent 41ca20d80d
commit aaed4171b0
3 changed files with 72 additions and 27 deletions

View file

@ -17,7 +17,7 @@
<!-- THEME-SPECIFIC -->
<!-- Every theme gets their own html page, this is created by a script; this part will be removed except for the index -->
<title>MapComplete</title>
<link href="./index.manifest" rel="manifest">
<link href="./manifest.webmanifest" rel="manifest">
<link href="./assets/svg/add.svg" rel="icon" sizes="any" type="image/svg+xml">
<meta content="./assets/SocialImage.png" property="og:image">
<meta content="MapComplete - editable, thematic maps with OpenStreetMap" property="og:title">

View file

@ -1,26 +0,0 @@
{
"name": "MapComplete",
"short_name": "MapComplete",
"start_url": "index.html",
"display": "standalone",
"background_color": "#fff",
"description": "Easily edit OpenStreetMap",
"orientation": "portrait-primary, landscape-primary",
"icons": [
{
"src": "./assets/svg/add.svg",
"sizes": "192x192",
"type": "image/svg"
},
{
"src": "./assets/svg/add.svg",
"sizes": "512x512",
"type": "image/svg"
},
{
"src": "./assets/svg/add.svg",
"sizes": "513x513",
"type": "image/svg"
}
]
}

71
manifest.webmanifest Normal file
View file

@ -0,0 +1,71 @@
{
"name": "index",
"short_name": "MapComplete",
"start_url": "index.html",
"lang": "en",
"display": "standalone",
"background_color": "#fff",
"description": "A thematic map viewer and editor based on OpenStreetMap",
"orientation": "portrait-primary, landscape-primary",
"icons": [
{
"src": "assets/generated/images/assets_svg_mapcomplete_logo72.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "assets/generated/images/assets_svg_mapcomplete_logo96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "assets/generated/images/assets_svg_mapcomplete_logo120.png",
"sizes": "120x120",
"type": "image/png"
},
{
"src": "assets/generated/images/assets_svg_mapcomplete_logo128.png",
"sizes": "128x128",
"type": "image/png"
},
{
"src": "assets/generated/images/assets_svg_mapcomplete_logo144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "assets/generated/images/assets_svg_mapcomplete_logo152.png",
"sizes": "152x152",
"type": "image/png"
},
{
"src": "assets/generated/images/assets_svg_mapcomplete_logo180.png",
"sizes": "180x180",
"type": "image/png"
},
{
"src": "assets/generated/images/assets_svg_mapcomplete_logo192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "assets/generated/images/assets_svg_mapcomplete_logo384.png",
"sizes": "384x384",
"type": "image/png"
},
{
"src": "assets/generated/images/assets_svg_mapcomplete_logo512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "./assets/svg/mapcomplete_logo.svg",
"sizes": "513x513",
"type": "image/svg"
}
],
"categories": [
"map",
"navigation"
]
}