feat: improve pwa manifest

This commit is contained in:
ThatOneCalculator 2022-08-27 21:42:38 -07:00
parent b28594389e
commit 5c6cff93ef
3 changed files with 29 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View file

@ -5,6 +5,7 @@
"display": "standalone",
"background_color": "#6e6a86",
"theme_color": "#31748f",
"orientation": "portrait-primary",
"icons": [
{
"src": "/static-assets/icons/192.png",
@ -24,5 +25,32 @@
"text": "text",
"url": "url"
}
}
},
"screenshots" : [
{
"src": "/static-assets/screenshots/1.webp",
"sizes": "1195x579",
"type": "image/webp",
"platform": "narrow",
"label": "Profile page"
},
{
"src": "/static-assets/screenshots/2.webp",
"sizes": "1280x720",
"type": "image/webp",
"platform": "narrow",
"label": "Posts"
}
],
"shortcuts" : [
{
"name": "Notifications",
"short_name": "Notifs",
"url": "/my/notifications"
},
{
"name": "Chats",
"url": "/my/messaging"
}
]
}