From: Robert Kaiser <kairo@kairo.at>
Date: Thu, 2 Nov 2017 22:01:25 +0000 (+0100)
Subject: add a PWA manifest
X-Git-Tag: production~25
X-Git-Url: https://git-public.kairo.at//?a=commitdiff_plain;h=18af21fdd48adda5232d9a775439757b7f49e93e;p=lantea.git

add a PWA manifest
---

diff --git a/index.html b/index.html
index 3ca9752..e321252 100644
--- a/index.html
+++ b/index.html
@@ -15,6 +15,7 @@
   <script src="js/library.js" type="application/javascript;version=1.8"></script>
   <script src="js/piwik.js" async="" defer=""></script>
   <link rel="stylesheet" href="style/lantea.css">
+  <link rel="manifest" href="/pwa.manifest">
   <link rel="shortcut icon" href="style/lanteaIcon16.png" type="image/png">
 </head>
 <body id="body">
diff --git a/pwa.manifest b/pwa.manifest
new file mode 100644
index 0000000..c89bc9f
--- /dev/null
+++ b/pwa.manifest
@@ -0,0 +1,31 @@
+{
+  "name": "Lantea Maps",
+  "short_name": "Lantea",
+  "description": "Display maps and record (GPS) tracks of your location.",
+  "start_url": "/index.html",
+  "display": "standalone",
+  "background_color": "#CCCCCC",
+  "icons": {
+    "16": "/style/lanteaIcon16.png",
+    "32": "/style/lanteaIcon32.png",
+    "64": "/style/lanteaIcon64.png",
+    "128": "/style/lanteaIcon128.png"
+  }
+  "icons": [{
+    "src": "/style/lanteaIcon16.png",
+    "sizes": "16x16",
+    "type": "image/png"
+  }, {
+    "src": "/style/lanteaIcon32.png",
+    "sizes": "32x32",
+    "type": "image/png"
+  }, {
+    "src": "/style/lanteaIcon64.png",
+    "sizes": "64x64",
+    "type": "image/png"
+  }, {
+    "src": "/style/lanteaIcon128.png",
+    "sizes": "128x128",
+    "type": "image/png"
+  }]
+}