1
0
mirror of https://github.com/hack-chat/main.git synced 2024-03-22 13:20:33 +08:00

Adding manifest.json (basic PWA support)

This commit is contained in:
Grégory Paul 2019-03-04 20:55:07 +01:00
parent 686f348e87
commit e55b3e2a3d
8 changed files with 41 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@ -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>

40
client/manifest.json Normal file
View File

@ -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"
}