Add manifest.json for nicer mobile experience

This commit is contained in:
Pavel Djundik 2016-05-10 13:14:51 +03:00
parent 973fa0f4b2
commit d524cf08ec
2 changed files with 29 additions and 0 deletions

View file

@ -9,6 +9,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="mobile-web-app-capable" content="yes">
<meta name="referrer" content="no-referrer">
<meta name="theme-color" content="#455164">
<title>The Lounge</title>
@ -19,6 +20,7 @@
<link rel="shortcut icon" href="img/favicon.png" data-other="img/favicon-notification.png" data-toggled="false" id="favicon">
<link rel="apple-touch-icon" sizes="120x120" href="img/apple-touch-icon-120x120.png">
<link rel="manifest" href="manifest.json">
</head>
<body class="<%= public ? "public" : "" %>">

27
client/manifest.json Normal file
View file

@ -0,0 +1,27 @@
{
"name": "The Lounge",
"short_name": "The Lounge",
"description": "Self-hosted web IRC client",
"display": "standalone",
"orientation": "any",
"theme_color": "#455164",
"background_color": "#455164",
"icons":
[
{
"src": "img/touch-icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "img/apple-touch-icon-120x120.png",
"sizes": "120x120",
"type": "image/png"
},
{
"src": "img/favicon.png",
"sizes": "64x64",
"type": "image/png"
}
]
}