feat: add pwa manifest and service worker

Wire up a production service worker and web app manifest with install metadata and icon assets.
Bump project version to 2.1.0 and register the worker from the main page for offline-ready behavior.

Made-with: Cursor
This commit is contained in:
Frank Schwenk
2026-04-14 15:34:10 +02:00
parent 55cba1495f
commit 5bdea62a9f
5 changed files with 118 additions and 3 deletions
+35
View File
@@ -0,0 +1,35 @@
{
"name": "BSC Score",
"short_name": "BSC Score",
"description": "Professional pool and billiards scoring application",
"start_url": "/",
"scope": "/",
"display": "standalone",
"orientation": "portrait",
"background_color": "#1a1a1a",
"theme_color": "#1a1a1a",
"lang": "de",
"categories": [
"sports",
"utilities",
"productivity"
],
"icons": [
{
"src": "/icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/icon-512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "/icon-512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
]
}