feat: generate PNG favicons and apple-touch-icon from SVG

Adds icon-16/32/48/96/180/192/512.png and favicon.ico (multi-size).
Updates site.webmanifest with 192/512 PNG entries and head.html with
apple-touch-icon and explicit PNG/ICO fallback links.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 16:52:22 +02:00
parent 649ea4f56f
commit ea7691b772
10 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -103,5 +103,7 @@
<!-- Favicon & PWA -->
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="icon" href="/favicon.ico" sizes="16x16 32x32 48x48" type="image/x-icon" />
<link rel="icon" href="/icon-96.png" type="image/png" sizes="96x96" />
<link rel="apple-touch-icon" href="/icon-180.png" sizes="180x180" />
<link rel="manifest" href="/site.webmanifest" />
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

+2
View File
@@ -3,6 +3,8 @@
"short_name": "Bar Pivoine",
"description": "A field guide to the good pour.",
"icons": [
{ "src": "/icon-192.png", "type": "image/png", "sizes": "192x192" },
{ "src": "/icon-512.png", "type": "image/png", "sizes": "512x512" },
{ "src": "/favicon.svg", "type": "image/svg+xml", "sizes": "any" }
],
"start_url": "/",