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:
parent
686f348e87
commit
e55b3e2a3d
BIN
client/imgs/android-icon-144x144.png
Normal file
BIN
client/imgs/android-icon-144x144.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.1 KiB |
BIN
client/imgs/android-icon-192x192.png
Normal file
BIN
client/imgs/android-icon-192x192.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.4 KiB |
BIN
client/imgs/android-icon-36x36.png
Normal file
BIN
client/imgs/android-icon-36x36.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
BIN
client/imgs/android-icon-48x48.png
Normal file
BIN
client/imgs/android-icon-48x48.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
BIN
client/imgs/android-icon-72x72.png
Normal file
BIN
client/imgs/android-icon-72x72.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
BIN
client/imgs/android-icon-96x96.png
Normal file
BIN
client/imgs/android-icon-96x96.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.1 KiB |
|
@ -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
40
client/manifest.json
Normal 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"
|
||||
}
|
Loading…
Reference in New Issue
Block a user