Admin-Bereich: echtes Logo statt generiertem Icon bei Installation als App
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 <[email protected]>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
2d2ade1aa8
commit
0ff6412e1e
@@ -7,7 +7,10 @@
|
||||
<title>Van's DIY & Bastelbedarf – Admin</title>
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico" sizes="any" />
|
||||
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32" />
|
||||
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16" />
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||
<link rel="manifest" href="/admin/manifest.webmanifest" />
|
||||
<meta name="theme-color" content="#0a0910" />
|
||||
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Fraunces:opsz,[email protected],500;9..144,600;9..144,700&display=swap" rel="stylesheet" />
|
||||
|
||||
@@ -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" }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user