mirror of
https://github.com/gadgethd/ukmesh.git
synced 2026-12-06 19:24:41 +00:00
`index.html` has linked `/manifest.json` since the PWA work, but no manifest ever existed — the link 404'd into the SPA shell (and, after the honest-404 change, now 404s properly). This adds the real thing. - `frontend/public/manifest.json`: id/scope/start_url, en-GB, standalone with a window-controls-overlay override, theme/background matched to the app's `--color-bg` (#0a0f1a), categories, three shortcuts (feed, repeaters, topology). - Icons rendered from the existing favicon mark: 192/512 `any`, 192/512 `maskable` (mark held inside the 80% safe circle, fully opaque, full bleed) and a 180px apple-touch icon. - `index.html`: theme-color, apple-touch-icon and the mobile/Apple web-app meta tags so iOS gets a real home-screen icon and title instead of a screenshot. The manifest is shared by both build targets (app + public website); both link it and both ship `public/`, so the same file is correct for either origin.
73 lines
1.9 KiB
JSON
73 lines
1.9 KiB
JSON
{
|
|
"id": "/",
|
|
"name": "UKMesh — MeshCore Analytics",
|
|
"short_name": "UKMesh",
|
|
"description": "Live MeshCore mesh telemetry for the UK: packet feed, repeater tree, topology, coverage and node health.",
|
|
"lang": "en-GB",
|
|
"dir": "ltr",
|
|
"start_url": "/?source=pwa",
|
|
"scope": "/",
|
|
"display": "standalone",
|
|
"display_override": ["window-controls-overlay", "minimal-ui", "standalone"],
|
|
"orientation": "any",
|
|
"theme_color": "#0a0f1a",
|
|
"background_color": "#0a0f1a",
|
|
"categories": ["utilities", "productivity"],
|
|
"prefer_related_applications": false,
|
|
"icons": [
|
|
{
|
|
"src": "/icons/icon-192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "/icons/icon-512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "any"
|
|
},
|
|
{
|
|
"src": "/icons/maskable-192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "maskable"
|
|
},
|
|
{
|
|
"src": "/icons/maskable-512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "maskable"
|
|
},
|
|
{
|
|
"src": "/favicon.svg",
|
|
"sizes": "any",
|
|
"type": "image/svg+xml",
|
|
"purpose": "any"
|
|
}
|
|
],
|
|
"shortcuts": [
|
|
{
|
|
"name": "Packet feed",
|
|
"short_name": "Feed",
|
|
"description": "Live packet feed across the mesh",
|
|
"url": "/feed",
|
|
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192", "type": "image/png" }]
|
|
},
|
|
{
|
|
"name": "Repeaters",
|
|
"short_name": "Repeaters",
|
|
"description": "Repeater tree and node health",
|
|
"url": "/repeater",
|
|
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192", "type": "image/png" }]
|
|
},
|
|
{
|
|
"name": "Topology",
|
|
"short_name": "Topology",
|
|
"description": "Mesh topology view",
|
|
"url": "/topology",
|
|
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192", "type": "image/png" }]
|
|
}
|
|
]
|
|
}
|