From 0ff6412e1e4c53c832253e04f7020566999b23fd Mon Sep 17 00:00:00 2001 From: qcigano Date: Mon, 3 Aug 2026 00:09:43 +0200 Subject: [PATCH] Admin-Bereich: echtes Logo statt generiertem Icon bei Installation als App MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Der Adminbereich hatte zwar schon einen Favicon-Link, aber kein eigenes Web-App-Manifest — wer /admin/ als App installiert hat, bekam deshalb ein automatisch generiertes Platzhalter-Icon statt des echten VanVan- Logos (gleiches Problem wie zuvor schon auf der Hauptseite behoben). Neues manifest.webmanifest für den Adminbereich verlinkt jetzt dieselben Logo-Icons wie die Hauptseite (inkl. maskable-Varianten). Co-Authored-By: Claude Sonnet 5 --- public/admin/index.html | 3 +++ public/admin/manifest.webmanifest | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 public/admin/manifest.webmanifest diff --git a/public/admin/index.html b/public/admin/index.html index ac69185..6a11d21 100644 --- a/public/admin/index.html +++ b/public/admin/index.html @@ -7,7 +7,10 @@ Van's DIY & Bastelbedarf – Admin + + + diff --git a/public/admin/manifest.webmanifest b/public/admin/manifest.webmanifest new file mode 100644 index 0000000..7d7c481 --- /dev/null +++ b/public/admin/manifest.webmanifest @@ -0,0 +1,18 @@ +{ + "name": "Van's Shop – Admin", + "short_name": "Van's Admin", + "description": "Adminbereich von Van's DIY & Bastelbedarf (Sveltia CMS).", + "start_url": "/admin/", + "scope": "/admin/", + "display": "standalone", + "background_color": "#0a0910", + "theme_color": "#0a0910", + "icons": [ + { "src": "/favicon-16x16.png", "sizes": "16x16", "type": "image/png", "purpose": "any" }, + { "src": "/favicon-32x32.png", "sizes": "32x32", "type": "image/png", "purpose": "any" }, + { "src": "/icon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" }, + { "src": "/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" }, + { "src": "/icon-192-maskable.png", "sizes": "192x192", "type": "image/png", "purpose": "maskable" }, + { "src": "/icon-512-maskable.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" } + ] +}