]> Untitled Git - lemmy.git/commitdiff
Add webmanifest file, icons. Add manifest to index.html
authorKartik Singh <kartik.ynwa@gmail.com>
Thu, 9 Jul 2020 12:00:47 +0000 (17:30 +0530)
committerKartik Singh <kartik.ynwa@gmail.com>
Thu, 9 Jul 2020 14:15:11 +0000 (19:45 +0530)
ui/assets/icons/icon-128x128.png [new file with mode: 0644]
ui/assets/icons/icon-144x144.png [new file with mode: 0644]
ui/assets/icons/icon-152x152.png [new file with mode: 0644]
ui/assets/icons/icon-192x192.png [new file with mode: 0644]
ui/assets/icons/icon-384x384.png [new file with mode: 0644]
ui/assets/icons/icon-512x512.png [new file with mode: 0644]
ui/assets/icons/icon-72x72.png [new file with mode: 0644]
ui/assets/icons/icon-96x96.png [new file with mode: 0644]
ui/assets/manifest.webmanifest [new file with mode: 0644]
ui/src/index.html

diff --git a/ui/assets/icons/icon-128x128.png b/ui/assets/icons/icon-128x128.png
new file mode 100644 (file)
index 0000000..0395e37
Binary files /dev/null and b/ui/assets/icons/icon-128x128.png differ
diff --git a/ui/assets/icons/icon-144x144.png b/ui/assets/icons/icon-144x144.png
new file mode 100644 (file)
index 0000000..96259be
Binary files /dev/null and b/ui/assets/icons/icon-144x144.png differ
diff --git a/ui/assets/icons/icon-152x152.png b/ui/assets/icons/icon-152x152.png
new file mode 100644 (file)
index 0000000..d7b7f03
Binary files /dev/null and b/ui/assets/icons/icon-152x152.png differ
diff --git a/ui/assets/icons/icon-192x192.png b/ui/assets/icons/icon-192x192.png
new file mode 100644 (file)
index 0000000..65f3b2a
Binary files /dev/null and b/ui/assets/icons/icon-192x192.png differ
diff --git a/ui/assets/icons/icon-384x384.png b/ui/assets/icons/icon-384x384.png
new file mode 100644 (file)
index 0000000..e60dcb1
Binary files /dev/null and b/ui/assets/icons/icon-384x384.png differ
diff --git a/ui/assets/icons/icon-512x512.png b/ui/assets/icons/icon-512x512.png
new file mode 100644 (file)
index 0000000..763cfc0
Binary files /dev/null and b/ui/assets/icons/icon-512x512.png differ
diff --git a/ui/assets/icons/icon-72x72.png b/ui/assets/icons/icon-72x72.png
new file mode 100644 (file)
index 0000000..72447ee
Binary files /dev/null and b/ui/assets/icons/icon-72x72.png differ
diff --git a/ui/assets/icons/icon-96x96.png b/ui/assets/icons/icon-96x96.png
new file mode 100644 (file)
index 0000000..688a3c5
Binary files /dev/null and b/ui/assets/icons/icon-96x96.png differ
diff --git a/ui/assets/manifest.webmanifest b/ui/assets/manifest.webmanifest
new file mode 100644 (file)
index 0000000..9379daf
--- /dev/null
@@ -0,0 +1,49 @@
+{
+  "name": "Lemmy",
+  "description": "A link aggregator for the fediverse",
+  "start_url": "/",
+  "display": "minimal-ui",
+  "background_color": "#222222",
+  "icons": [
+    {
+      "src": "/static/assets/icons/icon-72x72.png",
+      "sizes": "72x72",
+      "type": "image/png"
+    },
+    {
+      "src": "/static/assets/icons/icon-96x96.png",
+      "sizes": "96x96",
+      "type": "image/png"
+    },
+    {
+      "src": "/static/assets/icons/icon-128x128.png",
+      "sizes": "128x128",
+      "type": "image/png"
+    },
+    {
+      "src": "/static/assets/icons/icon-144x144.png",
+      "sizes": "144x144",
+      "type": "image/png"
+    },
+    {
+      "src": "/static/assets/icons/icon-152x152.png",
+      "sizes": "152x152",
+      "type": "image/png"
+    },
+    {
+      "src": "/static/assets/icons/icon-192x192.png",
+      "sizes": "192x192",
+      "type": "image/png"
+    },
+    {
+      "src": "/static/assets/icons/icon-384x384.png",
+      "sizes": "384x384",
+      "type": "image/png"
+    },
+    {
+      "src": "/static/assets/icons/icon-512x512.png",
+      "sizes": "512x512",
+      "type": "image/png"
+    }
+  ]
+}
index 07d188e2e74e5b051a352d0145b3b1f0dda2eaa7..0e1a181b207462717abfa470980b2a599efbe890 100644 (file)
@@ -6,6 +6,9 @@
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
 
+    <!-- Web app manifest -->
+    <link rel="manifest" href="/static/assets/manifest.webmanifest">
+
     <!-- Icons -->
     <link rel="shortcut icon" type="image/svg+xml" href="/static/assets/favicon.svg" />
     <link rel="apple-touch-icon" href="/static/assets/apple-touch-icon.png" />