feat(pwa): add shortcuts to PWA (#1509)

* feat(pwa): add shortcuts to PWA

* feat(pwa): suggested changes

use 192x192 px icons and replace links
pull/1474/head
Danshil Kokil Mungur 4 years ago committed by GitHub
parent db49b2024d
commit ed99e4976d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

@ -30,5 +30,40 @@
],
"theme_color": "#1f2937",
"background_color": "#1f2937",
"display": "standalone"
"display": "standalone",
"shortcuts": [
{
"name": "Requests",
"url": "/requests",
"icons": [
{
"src": "/clock-icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
}
]
},
{
"name": "Profile",
"url": "/profile",
"icons": [
{
"src": "/users-icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
}
]
},
{
"name": "Settings",
"url": "/profile/settings",
"icons": [
{
"src": "/cog-icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
}
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Loading…
Cancel
Save