From e49b47a9749f42a62c5a646410a34cb977b97f9f Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 14 Feb 2024 21:47:27 -0800 Subject: feat(pwa): shortcuts --- static/manifest.json | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) (limited to 'static') 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" + } + ] + } + ] } -- cgit v1.2.3