stacker.news/public/site.webmanifest
ekzyis e97509eea7
Use PWA with display: standalone (#292)
* Use next-pwa

* Use standalone + back button

* Use Notification API

* Use custom service worker

* Use url_handlers

* Add offline page

* Use smaller icon in notification

* Only prompt for notifications if logged in

* small enhancements to standalone pwa

* remove unused back arrow

---------

Co-authored-by: ekzyis <ek@stacker.news>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2023-05-31 17:28:33 -05:00

30 lines
574 B
JSON

{
"name": "stacker news",
"short_name": "SN",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"type": "image/png",
"sizes": "512x512"
},
{
"src": "/android-chrome-24x24.png",
"type": "image/png",
"sizes": "24x24"
}
],
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff",
"start_url": "/",
"url_handlers": [
{
"origin": "https://stacker.news"
}
]
}