Merge pull request #310 from thelounge/xpaw/manifest

Add manifest.json for nicer mobile experience
This commit is contained in:
Jérémie Astori 2016-05-20 19:26:08 -04:00
commit be8705b4b0
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="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="mobile-web-app-capable" content="yes"> <meta name="mobile-web-app-capable" content="yes">
<meta name="referrer" content="no-referrer"> <meta name="referrer" content="no-referrer">
<meta name="theme-color" content="#455164">
<title>The Lounge</title> <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="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="apple-touch-icon" sizes="120x120" href="img/apple-touch-icon-120x120.png">
<link rel="manifest" href="manifest.json">
</head> </head>
<body class="<%= public ? "public" : "" %>"> <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"
}
]
}