feat(pwa): create native PWA manifest.json

Story 1: Create Native PWA Manifest
- Extract manifest configuration from vite.config.ts to static/manifest.json
- Preserve exact configuration including share_target for Instagram URLs
- Update app.html to reference new manifest.json location
- Validated JSON syntax successfully

All PWA properties maintained:
- Share target: /share route for external app sharing
- Icons: favicon.png in 192x192 and 512x512 sizes
- Display: standalone mode for PWA installation
- Theme colors: white background and theme colors

Refs: docs/plans/MigrateToNativeSvelteKitPWA.md
This commit is contained in:
Giancarmine Salucci
2025-12-22 05:27:17 +01:00
parent 8f13cba320
commit e8bcc09f29
3 changed files with 47 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="manifest" href="/manifest.webmanifest">
<link rel="manifest" href="/manifest.json">
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">