diff --git a/packages/backend/assets/screenshots/1.webp b/packages/backend/assets/screenshots/1.webp new file mode 100644 index 000000000..83d59a6e0 --- /dev/null +++ b/packages/backend/assets/screenshots/1.webp @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3e8f30c4cea205ae8c93524f08a937e33b4177f01e741b761fb99e5c0b4b5469 +size 42328 diff --git a/packages/backend/assets/screenshots/2.webp b/packages/backend/assets/screenshots/2.webp new file mode 100644 index 000000000..bc2b6ced9 --- /dev/null +++ b/packages/backend/assets/screenshots/2.webp @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4015c8837179d2c3ed44f2cadd9da0279124df35d9d4574dbc9428cc77b72421 +size 28696 diff --git a/packages/backend/src/server/web/manifest.json b/packages/backend/src/server/web/manifest.json index 4106e91fc..da61f63b7 100644 --- a/packages/backend/src/server/web/manifest.json +++ b/packages/backend/src/server/web/manifest.json @@ -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" + } + ] }