Add basic PWA

This commit is contained in:
samwisekind 2024-09-02 00:52:31 +01:00
parent 666693f374
commit 6cbd8a8ef9
No known key found for this signature in database
GPG key ID: 17809EB190268900
5 changed files with 39 additions and 0 deletions

View file

@ -4,6 +4,8 @@
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<link rel="apple-touch-icon" href="%sveltekit.assets%/apple-touch-icon.png"/>
<link rel="manifest" href="%sveltekit.assets%/site.webmanifest">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
%sveltekit.head%
</head>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -0,0 +1,37 @@
{
"scope": "/app/",
"start_url": "/app/",
"display": "standalone",
"orientation": "any",
"name": "gpx.studio",
"short_name": "gpx.studio",
"description": "View, edit, and create GPX files online.",
"theme_color": "#030816",
"background_color": "#030816",
"icons": [
{
"src": "/icon-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/icon-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/icon-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "/icon-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
}
]
}