Browse Source

simple "add to homescreen" manifest

pull/411/head
Siim Ots 4 years ago
parent
commit
3c615b54b9
  1. 1
      index.html
  2. BIN
      public/icon-192x192.png
  3. BIN
      public/icon-512x512.png
  4. 19
      public/manifest.json

1
index.html

@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/svg+xml" href="/icon.svg" /> <link rel="icon" type="image/svg+xml" href="/icon.svg" />
<link rel="manifest" href="manifest.json" />
<meta name="theme-color" id="theme-color" content="" /> <meta name="theme-color" id="theme-color" content="" />
<meta name="description" content="Uptime Kuma monitoring tool" /> <meta name="description" content="Uptime Kuma monitoring tool" />
<title>Uptime Kuma</title> <title>Uptime Kuma</title>

BIN
public/icon-192x192.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

BIN
public/icon-512x512.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

19
public/manifest.json

@ -0,0 +1,19 @@
{
"name": "Uptime Kuma",
"short_name": "Uptime Kuma",
"start_url": "/?source=pwa",
"background_color": "#fff",
"display": "standalone",
"icons": [
{
"src": "icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}
Loading…
Cancel
Save