feat: add PWA support - manifest, service worker, offline page, icons

This commit is contained in:
2026-06-14 10:15:20 -04:00
parent 01f1215cef
commit 639af6371e
8 changed files with 135 additions and 0 deletions

26
public/manifest.json Normal file
View File

@@ -0,0 +1,26 @@
{
"name": "ServerManager",
"short_name": "SM",
"description": "Linux Server Management Platform",
"start_url": "/dashboard",
"display": "standalone",
"background_color": "#0f1117",
"theme_color": "#6366f1",
"categories": ["productivity", "utilities"],
"lang": "en",
"orientation": "any",
"icons": [
{
"src": "/assets/img/icon-192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "/assets/img/icon-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any maskable"
}
]
}