diff options
| author | Fuwn <[email protected]> | 2024-02-14 21:47:27 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-02-14 21:47:27 -0800 |
| commit | e49b47a9749f42a62c5a646410a34cb977b97f9f (patch) | |
| tree | ee7f2caf1932371513b5708efc6bc38bc5dc45b6 /static | |
| parent | refactor(pwa): use sveltekit's pwa example (diff) | |
| download | due.moe-e49b47a9749f42a62c5a646410a34cb977b97f9f.tar.xz due.moe-e49b47a9749f42a62c5a646410a34cb977b97f9f.zip | |
feat(pwa): shortcuts
Diffstat (limited to 'static')
| -rw-r--r-- | static/manifest.json | 56 |
1 files changed, 55 insertions, 1 deletions
diff --git a/static/manifest.json b/static/manifest.json index 3c5a2144..7224b5c4 100644 --- a/static/manifest.json +++ b/static/manifest.json @@ -38,5 +38,59 @@ "display": "standalone", "scope": "/", "theme_color": "#060506", - "description": "Instantly view which anime & manga on your lists have new episodes/chapters!" + "description": "Instantly view which anime & manga on your lists have new episodes/chapters!", + "shortcuts": [ + { + "name": "Due Media", + "short_name": "Due", + "url": "/?source=pwa", + "icons": [ + { + "src": "https://due.moe/favicon-196x196.png", + "type": "image/png", + "sizes": "196x196", + "purpose": "maskable any" + } + ] + }, + { + "name": "Completed Media", + "short_name": "Completed", + "url": "/completed?source=pwa", + "icons": [ + { + "src": "https://due.moe/favicon-196x196.png", + "type": "image/png", + "sizes": "196x196", + "purpose": "maskable any" + } + ] + }, + { + "name": "Subtitle Schedule", + "short_name": "Schedule", + "url": "/schedule?source=pwa", + "icons": [ + { + "src": "https://due.moe/favicon-196x196.png", + "type": "image/png", + "sizes": "196x196", + "purpose": "maskable any" + } + ] + }, + { + "name": "hololive Schedule", + "short_name": "hololive", + "url": "/hololive?source=pwa", + "icons": [ + { + "src": "https://due.moe/favicon-196x196.png", + "type": "image/png", + "sizes": "196x196", + "purpose": "maskable any" + } + ] + } + ] } |