Add PWA icons and manifest for iOS/Android home screen

This commit is contained in:
Davide Scaini
2026-05-11 11:17:13 +02:00
parent 14313ec59c
commit 8fbbf460a9
6 changed files with 16 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

+13
View File
@@ -0,0 +1,13 @@
{
"name": "BincioActivity",
"short_name": "BincioActivity",
"description": "Your personal activity stats",
"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
@@ -43,6 +43,9 @@ try {
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content={description} />
<title>{title}</title>
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.webmanifest" />
<meta name="theme-color" content="#0d0d0d" />
<!-- Set theme before first paint to avoid flash -->
<script is:inline>