apps/web: changes site.webmanifest & add favicon.ico to <head>

This commit is contained in:
vchikalkin 2024-07-18 23:06:49 +03:00
parent 0eccd799c7
commit 2ece25dcb6
2 changed files with 14 additions and 1 deletions

View File

@ -2,6 +2,7 @@ import { withBasePath } from '@/config/urls';
export const metaFavicon = (
<>
<link rel="icon" type="image/x-icon" href={withBasePath('/favicon.ico')} sizes="32x32" />
<link rel="apple-touch-icon" sizes="180x180" href={withBasePath('/apple-touch-icon.png')} />
<link rel="icon" type="image/png" sizes="32x32" href={withBasePath('/favicon-32x32.png')} />
<link rel="icon" type="image/png" sizes="16x16" href={withBasePath('/favicon-16x16.png')} />

View File

@ -1,8 +1,19 @@
{
"$schema": "https://json.schemastore.org/web-manifest",
"name": "Лизинговый калькулятор - Эволюция",
"short_name": "Калькулятор",
"start_url": "/",
"icons": [
{
"src": "/favicon-16x16.png",
"sizes": "16x16",
"type": "image/png"
},
{
"src": "/favicon-32x32.png",
"sizes": "32x32",
"type": "image/png"
},
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
@ -16,5 +27,6 @@
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
"display": "standalone",
"scope": "/"
}