aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrégory Paul <paulgreg@gmail.com>2019-03-04 20:55:07 +0100
committerGrégory Paul <paulgreg@gmail.com>2019-03-04 20:55:07 +0100
commite55b3e2a3d5d0ccd59491e4685ed8be389e23e39 (patch)
tree216126bcd0a1f0b1e11aa9bfcdfa0d5d6c2ba3fe
parentMinor bug fix due to lib change (diff)
downloadhackchat-e55b3e2a3d5d0ccd59491e4685ed8be389e23e39.tar.gz
hackchat-e55b3e2a3d5d0ccd59491e4685ed8be389e23e39.zip
Adding manifest.json (basic PWA support)
-rw-r--r--client/imgs/android-icon-144x144.pngbin0 -> 8333 bytes
-rw-r--r--client/imgs/android-icon-192x192.pngbin0 -> 9606 bytes
-rw-r--r--client/imgs/android-icon-36x36.pngbin0 -> 2362 bytes
-rw-r--r--client/imgs/android-icon-48x48.pngbin0 -> 2593 bytes
-rw-r--r--client/imgs/android-icon-72x72.pngbin0 -> 3933 bytes
-rw-r--r--client/imgs/android-icon-96x96.pngbin0 -> 5177 bytes
-rw-r--r--client/index.html1
-rw-r--r--client/manifest.json40
8 files changed, 41 insertions, 0 deletions
diff --git a/client/imgs/android-icon-144x144.png b/client/imgs/android-icon-144x144.png
new file mode 100644
index 0000000..8f0c896
--- /dev/null
+++ b/client/imgs/android-icon-144x144.png
Binary files differ
diff --git a/client/imgs/android-icon-192x192.png b/client/imgs/android-icon-192x192.png
new file mode 100644
index 0000000..c19cb84
--- /dev/null
+++ b/client/imgs/android-icon-192x192.png
Binary files differ
diff --git a/client/imgs/android-icon-36x36.png b/client/imgs/android-icon-36x36.png
new file mode 100644
index 0000000..25d42bf
--- /dev/null
+++ b/client/imgs/android-icon-36x36.png
Binary files differ
diff --git a/client/imgs/android-icon-48x48.png b/client/imgs/android-icon-48x48.png
new file mode 100644
index 0000000..5efad5b
--- /dev/null
+++ b/client/imgs/android-icon-48x48.png
Binary files differ
diff --git a/client/imgs/android-icon-72x72.png b/client/imgs/android-icon-72x72.png
new file mode 100644
index 0000000..47bba65
--- /dev/null
+++ b/client/imgs/android-icon-72x72.png
Binary files differ
diff --git a/client/imgs/android-icon-96x96.png b/client/imgs/android-icon-96x96.png
new file mode 100644
index 0000000..a8bd194
--- /dev/null
+++ b/client/imgs/android-icon-96x96.png
Binary files differ
diff --git a/client/index.html b/client/index.html
index 98b9428..9238c66 100644
--- a/client/index.html
+++ b/client/index.html
@@ -11,6 +11,7 @@
<script src="katex/katex.min.js"></script>
<script src="katex/contrib/auto-render.min.js"></script>
<link id="highlight-link" rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/hybrid.min.css">
+ <link rel="manifest" href="manifest.json">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
</head>
diff --git a/client/manifest.json b/client/manifest.json
new file mode 100644
index 0000000..7b66c9e
--- /dev/null
+++ b/client/manifest.json
@@ -0,0 +1,40 @@
+{
+ "short_name": "HC",
+ "name": "Hack-Chat",
+ "icons": [
+ {
+ "src": "imgs/android-icon-36x36.png",
+ "sizes": "36x36",
+ "type": "image/png"
+ },
+ {
+ "src": "imgs/android-icon-48x48.png",
+ "sizes": "48x48",
+ "type": "image/png"
+ },
+ {
+ "src": "imgs/android-icon-72x72.png",
+ "sizes": "72x72",
+ "type": "image/png"
+ },
+ {
+ "src": "imgs/android-icon-96x96.png",
+ "sizes": "96x96",
+ "type": "image/png"
+ },
+ {
+ "src": "imgs/android-icon-144x144.png",
+ "sizes": "144x144",
+ "type": "image/png"
+ },
+ {
+ "src": "imgs/android-icon-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ }
+ ],
+ "start_url": "./",
+ "display": "minimal-ui",
+ "theme_color": "#a6a28c",
+ "background_color": "#ffffff"
+}