mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 23:53:25 +00:00
* Add basic PWA support See: https://github.com/gpxstudio/gpx.studio/issues/38 This will add a basic manifest.json file to the response that creates an installable PWA. It still needs to be internationalized. * Refactor PWA integration and update dependencies - Removed @vite-pwa/sveltekit dependency and related configurations from package.json and vite.config.ts. - Added prebuild script to generate PWA manifest before build. - Moved the manifest link to hooks.server.js and included Apple touch icon. -Added images for various platforms. Images were generated with https://www.pwabuilder.com/imageGenerator * use svg icon, fix urls, and remove generated manifest files --------- Co-authored-by: jonherman <jonherman@gmail.com> Co-authored-by: vcoppe <vianney.coppe@gmail.com>
This commit is contained in:
BIN
website/static/apple-touch-icon.png
Normal file
BIN
website/static/apple-touch-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.1 KiB |
18
website/static/en.manifest.webmanifest
Normal file
18
website/static/en.manifest.webmanifest
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "gpx.studio",
|
||||
"short_name": "gpx.studio",
|
||||
"description": "View, edit, and create GPX files online with advanced route planning capabilities and file processing tools, beautiful maps and detailed data visualizations.",
|
||||
"start_url": "/app",
|
||||
"display": "standalone",
|
||||
"lang": "en",
|
||||
"scope": "/app",
|
||||
"id": "https://gpx.studio/app",
|
||||
"icons": [
|
||||
{
|
||||
"src": "icon.svg",
|
||||
"sizes": "any",
|
||||
"type": "image/svg+xml",
|
||||
"purpose": "any maskable"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user