feat: ✨ improve pwa manifest
This commit is contained in:
parent
b28594389e
commit
5c6cff93ef
3 changed files with 29 additions and 1 deletions
BIN
packages/backend/assets/screenshots/1.webp
Normal file
BIN
packages/backend/assets/screenshots/1.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
BIN
packages/backend/assets/screenshots/2.webp
Normal file
BIN
packages/backend/assets/screenshots/2.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
|
@ -5,6 +5,7 @@
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"background_color": "#6e6a86",
|
"background_color": "#6e6a86",
|
||||||
"theme_color": "#31748f",
|
"theme_color": "#31748f",
|
||||||
|
"orientation": "portrait-primary",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/static-assets/icons/192.png",
|
"src": "/static-assets/icons/192.png",
|
||||||
|
@ -24,5 +25,32 @@
|
||||||
"text": "text",
|
"text": "text",
|
||||||
"url": "url"
|
"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"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue