From 3627e1fbea1fd97b28e35615531a600580b39e70 Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Sat, 18 Nov 2023 23:29:27 +0100 Subject: [PATCH] externalise the webmanifest --- index.html | 6 +- manifest.webmanifest | 24 + topos_frog.svg | 2932 ++++++++++++++++++++++++++++++++++++++++++ vite.config.js | 2 +- 4 files changed, 2959 insertions(+), 5 deletions(-) create mode 100644 manifest.webmanifest create mode 100644 topos_frog.svg diff --git a/index.html b/index.html index 77a2dd4..01c9daf 100644 --- a/index.html +++ b/index.html @@ -70,12 +70,10 @@ -
+
- + diff --git a/manifest.webmanifest b/manifest.webmanifest new file mode 100644 index 0000000..8fb49fd --- /dev/null +++ b/manifest.webmanifest @@ -0,0 +1,24 @@ +{ + "name": "Topos", + "short_name": "Topos", + "description": "Live coding environment", + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone", + "scope": "/", + "start_url": "/", + "icons": [ + { + "src": "./favicon/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "any maskable" + }, + { + "src": "./favicon/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "any maskable" + } + ] +} diff --git a/topos_frog.svg b/topos_frog.svg new file mode 100644 index 0000000..4af3867 --- /dev/null +++ b/topos_frog.svg @@ -0,0 +1,2932 @@ + + + + +Created by potrace 1.15, written by Peter Selinger 2001-2017 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vite.config.js b/vite.config.js index 9d70242..57c9d47 100644 --- a/vite.config.js +++ b/vite.config.js @@ -41,7 +41,7 @@ const vitePWAconfiguration = { "favicon/apple-touch-icon.png", "mask-icon.svg", ], - manifest: webManifest, + manifest: "manifest.webmanifest", registerType: "autoUpdate", injectRegister: "auto", };