From: Kartik Singh Date: Thu, 9 Jul 2020 12:00:47 +0000 (+0530) Subject: Add webmanifest file, icons. Add manifest to index.html X-Git-Url: http://these/git/%7B%60%24%7BrepoUrl%7D/blob/master/docs/%24%7Bargs.pageFn.jump%20n%7D?a=commitdiff_plain;h=3663cb5ad5d5983c61bb22c6aa8f1fe4d96126c5;p=lemmy.git Add webmanifest file, icons. Add manifest to index.html --- diff --git a/ui/assets/icons/icon-128x128.png b/ui/assets/icons/icon-128x128.png new file mode 100644 index 00000000..0395e370 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 index 00000000..96259bed 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 index 00000000..d7b7f031 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 index 00000000..65f3b2ad 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 index 00000000..e60dcb1e 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 index 00000000..763cfc0c 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 index 00000000..72447ee7 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 index 00000000..688a3c50 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 index 00000000..9379dafc --- /dev/null +++ b/ui/assets/manifest.webmanifest @@ -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" + } + ] +} diff --git a/ui/src/index.html b/ui/src/index.html index 07d188e2..0e1a181b 100644 --- a/ui/src/index.html +++ b/ui/src/index.html @@ -6,6 +6,9 @@ + + +