[FEAT] PWA installabile Android/iOS conforme AGID (v1.15.0)
- manifest.webmanifest + service worker (offline shell, /api network-only, asset stale-while-revalidate) - set icone (192/512 + maskable + apple-touch + favicon), generate zero-deps (pure Node+zlib) - tag PWA + viewport viewport-fit=cover (zoom mantenuto, WCAG 1.4.4) in 77 pagine HTML - AGID/WCAG 2.1 AA: touch target >=44px, orientamento/zoom liberi, safe-area standalone - generatori riproducibili: scripts/gen-pwa-icons.mjs + scripts/inject-pwa-head.mjs - bump version 1.14.1 -> 1.15.0 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
b80bf2361c
commit
36513fa722
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"name": "NIS2 Agile — Compliance NIS2 & D.Lgs. 138/2024",
|
||||
"short_name": "NIS2 Agile",
|
||||
"description": "Piattaforma per la conformità alla direttiva NIS2 e al D.Lgs. 138/2024.",
|
||||
"lang": "it",
|
||||
"dir": "ltr",
|
||||
"start_url": "/dashboard.html?source=pwa",
|
||||
"scope": "/",
|
||||
"display": "standalone",
|
||||
"display_override": ["standalone", "minimal-ui"],
|
||||
"orientation": "any",
|
||||
"theme_color": "#0066CC",
|
||||
"background_color": "#FFFFFF",
|
||||
"categories": ["business", "productivity", "security"],
|
||||
"icons": [
|
||||
{
|
||||
"src": "/assets/icons/icon-192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "/assets/icons/icon-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "/assets/icons/icon-192-maskable.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/assets/icons/icon-512-maskable.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
}
|
||||
],
|
||||
"shortcuts": [
|
||||
{
|
||||
"name": "Dashboard",
|
||||
"short_name": "Dashboard",
|
||||
"url": "/dashboard.html?source=pwa",
|
||||
"icons": [
|
||||
{ "src": "/assets/icons/icon-192.png", "sizes": "192x192", "type": "image/png" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Incidenti Art.23",
|
||||
"short_name": "Incidenti",
|
||||
"url": "/incidents.html?source=pwa",
|
||||
"icons": [
|
||||
{ "src": "/assets/icons/icon-192.png", "sizes": "192x192", "type": "image/png" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user