Add PWA icons and manifest for iOS/Android home screen

This commit is contained in:
Davide Scaini
2026-05-11 11:20:36 +02:00
parent d42fc5160f
commit 6a934d829a
6 changed files with 16 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

+13
View File
@@ -0,0 +1,13 @@
{
"name": "BincioWiki",
"short_name": "BincioWiki",
"description": "Bincio personal wiki",
"start_url": "/",
"display": "standalone",
"background_color": "#0d0d0d",
"theme_color": "#0d0d0d",
"icons": [
{ "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any maskable" }
]
}
+3
View File
@@ -18,6 +18,9 @@ const { title, description, image = '/blog-placeholder-1.jpg' } = Astro.props;
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" /> <meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" type="image/x-icon" href="/favicon-light.png" /> <link rel="icon" type="image/x-icon" href="/favicon-light.png" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.webmanifest" />
<meta name="theme-color" content="#0d0d0d" />
<meta name="generator" content={Astro.generator} /> <meta name="generator" content={Astro.generator} />
<!-- Font preloads --> <!-- Font preloads -->