feat: improve pwa manifest

This commit is contained in:
ThatOneCalculator 2022-08-27 21:42:38 -07:00
parent 56092ffc7e
commit 8e0eb82b2e
3 changed files with 35 additions and 1 deletions

BIN
packages/backend/assets/screenshots/1.webp (Stored with Git LFS) Normal file

Binary file not shown.

BIN
packages/backend/assets/screenshots/2.webp (Stored with Git LFS) Normal file

Binary file not shown.

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"
}
]
}