From 00a3bba9cbadb12bc73a91a65a99af51129f9f4f Mon Sep 17 00:00:00 2001 From: kami Date: Sun, 5 Jul 2026 11:49:44 +0400 Subject: [PATCH] pwa: add app icon SVG and update manifest Create a minimal SVG icon (512x512, dark rounded square with blue 'M') and update manifest.json to reference it with purpose 'any'. This fixes the blank tile on mobile add-to-home-screen and PWA install prompts. --- cmd/mavweb/static/icon.svg | 10 ++++++++++ cmd/mavweb/static/manifest.json | 9 ++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 cmd/mavweb/static/icon.svg diff --git a/cmd/mavweb/static/icon.svg b/cmd/mavweb/static/icon.svg new file mode 100644 index 0000000..46f49fb --- /dev/null +++ b/cmd/mavweb/static/icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + M + diff --git a/cmd/mavweb/static/manifest.json b/cmd/mavweb/static/manifest.json index 8b2ef07..d10ca37 100644 --- a/cmd/mavweb/static/manifest.json +++ b/cmd/mavweb/static/manifest.json @@ -5,6 +5,13 @@ "display": "standalone", "background_color": "#111", "theme_color": "#00aaff", - "icons": [], + "icons": [ + { + "src": "/icon.svg", + "sizes": "any", + "type": "image/svg+xml", + "purpose": "any" + } + ], "description": "Voice client and dashboard for Maven" }