- Add service worker with caching for build assets, static files, images, and pages - Add IndexedDB storage for recipes (brief and full data) - Add offline-db API endpoint for bulk recipe download - Add offline sync button component in header - Add offline-shell page for direct navigation fallback - Pre-cache __data.json for client-side navigation - Add +page.ts universal load functions with IndexedDB fallback - Add PWA manifest and icons for installability - Update recipe page to handle missing data gracefully
25 lines
560 B
JSON
25 lines
560 B
JSON
{
|
|
"name": "Bocken Rezepte",
|
|
"short_name": "Rezepte",
|
|
"description": "Eine stetig wachsende Ansammlung an Rezepten aus der Bockenschen Küche",
|
|
"start_url": "/rezepte",
|
|
"scope": "/",
|
|
"display": "standalone",
|
|
"theme_color": "#5E81AC",
|
|
"background_color": "#2E3440",
|
|
"icons": [
|
|
{
|
|
"src": "/favicon-192.png",
|
|
"sizes": "192x192",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
},
|
|
{
|
|
"src": "/favicon-512.png",
|
|
"sizes": "512x512",
|
|
"type": "image/png",
|
|
"purpose": "any maskable"
|
|
}
|
|
]
|
|
}
|