feat: integrate PWA support using next-pwa; update configuration in next.config.ts, add service worker files to .gitignore, and include manifest in layout.tsx

This commit is contained in:
Usman Baig
2026-02-04 10:45:00 +01:00
parent acbd8ef8bc
commit 787eac2151
8 changed files with 3164 additions and 164 deletions

21
public/manifest.json Normal file
View File

@@ -0,0 +1,21 @@
{
"name": "Pulse Analytics",
"short_name": "Pulse",
"description": "Privacy-friendly website analytics",
"start_url": "/",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#000000",
"icons": [
{
"src": "/pulse_icon_no_margins.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/pulse_icon_no_margins.png",
"sizes": "512x512",
"type": "image/png"
}
]
}