Добавил favicon в формате ico + svg 16x16

This commit is contained in:
Norbaev 2024-06-28 10:59:36 +05:00
parent 6e1fbf6b16
commit e4d0441239
3 changed files with 29 additions and 21 deletions

View File

@ -85,6 +85,6 @@ module.exports = {
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
// Custom // Custom
'no-console': 'warn', // 'no-console': 'warn',
}, },
}; };

View File

@ -213,7 +213,7 @@ export default {
this.connection = new Player(); this.connection = new Player();
this.connection.init(); this.connection.init();
this.connection.onHandler(this.getPlaying); this.connection.onHandler(this.handlePlayer);
}, },
checkSongIsFavorite() { checkSongIsFavorite() {
app app
@ -236,7 +236,7 @@ export default {
console.error(err); console.error(err);
}); });
}, },
getPlaying(e) { handlePlayer(e) {
// console.log('getPlaying', e); // console.log('getPlaying', e);
const jsonData = JSON.parse(e.data); const jsonData = JSON.parse(e.data);
// console.log('jsonData', jsonData); // console.log('jsonData', jsonData);

View File

@ -1,20 +1,28 @@
<!DOCTYPE html> <!doctype html>
<html lang="ru"> <html lang="ru">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8" />
<meta name="format-detection" content="telephone=no"> <meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no"> <meta name="msapplication-tap-highlight" content="no" />
<meta name="viewport" content="user-scalable=yes, initial-scale=1, maximum-scale=5, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>"> <meta
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> name="viewport"
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> content="user-scalable=yes, initial-scale=1, maximum-scale=5, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>"
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> />
<link rel="manifest" href="/site.webmanifest"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"> <link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="msapplication-TileColor" content="#00a300"> <link
<meta name="theme-color" content="#119b58"> rel="icon"
</head> type="image/svg+xml"
<body> sizes="16x16"
<!-- DO NOT touch the following DIV --> href="/favicon-16x16.png"
<div id="q-app"></div> />
</body> <link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#00a300" />
<meta name="theme-color" content="#119b58" />
</head>
<body>
<!-- DO NOT touch the following DIV -->
<div id="q-app"></div>
</body>
</html> </html>