From c68ebc39096d93867058f011b4e6313f53128819 Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Tue, 5 Nov 2024 22:22:22 -0500 Subject: Start to make this a PWA --- ui/static/manifest.json | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 ui/static/manifest.json (limited to 'ui/static') diff --git a/ui/static/manifest.json b/ui/static/manifest.json new file mode 100644 index 0000000..2d4cf39 --- /dev/null +++ b/ui/static/manifest.json @@ -0,0 +1,43 @@ +{ + "name": "Pilcrow", + "short_name": "Pilcrow", + "start_url": "index.html", + "display": "standalone", + "background_color": "#fdfdfd", + "theme_color": "#db4938", + "orientation": "portrait-primary", + "icons": [ + { + "src": "/favicon.png", + "type": "image/png", "sizes": "72x72" + }, + { + "src": "/favicon.png", + "type": "image/png", "sizes": "96x96" + }, + { + "src": "/favicon.png", + "type": "image/png","sizes": "128x128" + }, + { + "src": "/favicon.png", + "type": "image/png", "sizes": "144x144" + }, + { + "src": "/favicon.png", + "type": "image/png", "sizes": "152x152" + }, + { + "src": "/favicon.png", + "type": "image/png", "sizes": "192x192" + }, + { + "src": "/favicon.png", + "type": "image/png", "sizes": "384x384" + }, + { + "src": "/favicon.png", + "type": "image/png", "sizes": "512x512" + } + ] +} -- cgit v1.2.3 From 27fb577abab4dba7c3edafc396421644ee9e7c5e Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Fri, 8 Nov 2024 22:06:59 -0500 Subject: Fix start path in manifest --- ui/static/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/static') diff --git a/ui/static/manifest.json b/ui/static/manifest.json index 2d4cf39..29e3e90 100644 --- a/ui/static/manifest.json +++ b/ui/static/manifest.json @@ -1,7 +1,7 @@ { "name": "Pilcrow", "short_name": "Pilcrow", - "start_url": "index.html", + "start_url": "/", "display": "standalone", "background_color": "#fdfdfd", "theme_color": "#db4938", -- cgit v1.2.3 From a784af6f5f125ec9188801dade41c207d8111e93 Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Sat, 9 Nov 2024 22:46:44 -0500 Subject: Replace favicon and logo with Pilcrow logo It's not very legible at small sizes, but it's a first draft, it'll be fine. --- ui/lib/assets/logo.png | Bin 137101 -> 92469 bytes ui/static/favicon.png | Bin 137101 -> 92469 bytes 2 files changed, 0 insertions(+), 0 deletions(-) (limited to 'ui/static') diff --git a/ui/lib/assets/logo.png b/ui/lib/assets/logo.png index 5df6b4e..4b35d9b 100644 Binary files a/ui/lib/assets/logo.png and b/ui/lib/assets/logo.png differ diff --git a/ui/static/favicon.png b/ui/static/favicon.png index 5df6b4e..4b35d9b 100644 Binary files a/ui/static/favicon.png and b/ui/static/favicon.png differ -- cgit v1.2.3 From 541e994595dc7fe02b9f21640d1f2c754fc6514d Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Sat, 9 Nov 2024 22:53:04 -0500 Subject: Add extra images macOS PWAs expect --- ui/static/apple-touch-icon-precomposed.png | Bin 0 -> 92469 bytes ui/static/apple-touch-icon.png | Bin 0 -> 92469 bytes ui/static/favicon.ico | Bin 0 -> 92469 bytes 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 ui/static/apple-touch-icon-precomposed.png create mode 100644 ui/static/apple-touch-icon.png create mode 100644 ui/static/favicon.ico (limited to 'ui/static') diff --git a/ui/static/apple-touch-icon-precomposed.png b/ui/static/apple-touch-icon-precomposed.png new file mode 100644 index 0000000..4b35d9b Binary files /dev/null and b/ui/static/apple-touch-icon-precomposed.png differ diff --git a/ui/static/apple-touch-icon.png b/ui/static/apple-touch-icon.png new file mode 100644 index 0000000..4b35d9b Binary files /dev/null and b/ui/static/apple-touch-icon.png differ diff --git a/ui/static/favicon.ico b/ui/static/favicon.ico new file mode 100644 index 0000000..4b35d9b Binary files /dev/null and b/ui/static/favicon.ico differ -- cgit v1.2.3