From 9d55044d4321233f6ffdbada737bccb5894a0f2a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 11 Apr 2024 13:35:06 -0700 Subject: service worker for pwa --- static/home.png | Bin 0 -> 260144 bytes static/manifest.webmanifest | 66 ++++++++++++++++++++++++++++++++++++++------ static/receive.png | Bin 0 -> 247776 bytes static/screenshot.png | Bin 219558 -> 0 bytes 4 files changed, 58 insertions(+), 8 deletions(-) create mode 100644 static/home.png create mode 100644 static/receive.png delete mode 100644 static/screenshot.png (limited to 'static') diff --git a/static/home.png b/static/home.png new file mode 100644 index 00000000..e6ba1b85 Binary files /dev/null and b/static/home.png differ diff --git a/static/manifest.webmanifest b/static/manifest.webmanifest index d09b8090..15f55603 100644 --- a/static/manifest.webmanifest +++ b/static/manifest.webmanifest @@ -11,30 +11,80 @@ { "src": "/icon-192x192.png", "sizes": "192x192", - "type": "image/png" + "type": "image/png", + "purpose": "maskable" }, { "src": "/icon-256x256.png", "sizes": "256x256", - "type": "image/png" + "type": "image/png", + "purpose": "maskable" }, { "src": "/icon-384x384.png", "sizes": "384x384", - "type": "image/png" + "type": "image/png", + "purpose": "maskable" }, { "src": "/icon-512x512.png", "sizes": "512x512", - "type": "image/png" + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "/icon-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/icon-256x256.png", + "sizes": "256x256", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/icon-384x384.png", + "sizes": "384x384", + "type": "image/png", + "purpose": "any" + }, + { + "src": "/icon-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "any" } ], "screenshots": [ { - "src": "/screenshot.png", - "sizes": "632x701", - "type": "image/gif", - "label": "Homepage" + "src": "/home.png", + "sizes": "801x920", + "type": "image/png", + "label": "Homepage", + "form_factor": "wide" + }, + { + "src": "/receive.png", + "sizes": "801x920", + "type": "image/png", + "label": "Receive", + "form_factor": "wide" + }, + { + "src": "/home.png", + "sizes": "801x920", + "type": "image/png", + "label": "Homepage", + "form_factor": "narrow" + }, + { + "src": "/receive.png", + "sizes": "801x920", + "type": "image/png", + "label": "Receive", + "form_factor": "narrow" } ], "protocol_handlers": [ diff --git a/static/receive.png b/static/receive.png new file mode 100644 index 00000000..8151e52c Binary files /dev/null and b/static/receive.png differ diff --git a/static/screenshot.png b/static/screenshot.png deleted file mode 100644 index e10fbd19..00000000 Binary files a/static/screenshot.png and /dev/null differ -- cgit v1.2.3