commit 031a4b638074ad8814af0d0094cbad434c8a00eb
parent fcaa862778272ab33f636c81534a210f50534781
Author: Hunter
Date:   Sun, 17 Nov 2024 11:50:31 -0500

PWA compliance attempt

Diffstat:
Mindex.html | 2++
Amanifest.json | 15+++++++++++++++
Aresources/icons/icon.svg | 3+++
3 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/index.html b/index.html @@ -3,6 +3,8 @@ <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <link rel="manifest" href="manifest.json"> + <meta name="theme-color" content="var(--background)"> <!-- favicon --> <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🪆</text></svg>"> diff --git a/manifest.json b/manifest.json @@ -0,0 +1,15 @@ +{ + "name": "matryoshka", + "short_name": "matryoshka", + "icons": [ + { + "src": "resources/icons/icon.svg", + "sizes": "any", + "type": "image/svg+xml" + } + ], + "start_url": "/matryoshka/", + "display": "standalone", + "background_color": "#ffffff", + "theme_color": "#ffffff" +} diff --git a/resources/icons/icon.svg b/resources/icons/icon.svg @@ -0,0 +1,3 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"> + <text y="0.9em" font-size="90">🪆</text> +</svg>