Add basic PWA
This commit is contained in:
parent
666693f374
commit
6cbd8a8ef9
5 changed files with 39 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
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: 4.6 KiB |
BIN
website/static/icon-192x192.png
Normal file
BIN
website/static/icon-192x192.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
BIN
website/static/icon-512x512.png
Normal file
BIN
website/static/icon-512x512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
37
website/static/site.webmanifest
Normal file
37
website/static/site.webmanifest
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue