Enable our awsome SVG favicon

This commit is contained in:
Ferdinand Thiessen 2021-02-02 23:15:17 +01:00
parent 2de1eaf29e
commit cf2fcc0664
9 changed files with 16 additions and 68 deletions

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
public/favicon-256x256.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 526 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 967 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 24 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 188 KiB

View File

@ -141,30 +141,20 @@ module.exports = configure(function(ctx) {
theme_color: '#027be3', theme_color: '#027be3',
icons: [ icons: [
{ {
src: 'icons/icon-128x128.png', src: 'flaschengeist-logo.svg',
sizes: 'any',
type: 'image/svg+xml'
},
{
src: 'favicon-128x128.png',
sizes: '128x128', sizes: '128x128',
type: 'image/png' type: 'image/png'
}, },
{ {
src: 'icons/icon-192x192.png', src: 'favicon-256x256.png',
sizes: '192x192',
type: 'image/png'
},
{
src: 'icons/icon-256x256.png',
sizes: '256x256', sizes: '256x256',
type: 'image/png' type: 'image/png'
}, },
{
src: 'icons/icon-384x384.png',
sizes: '384x384',
type: 'image/png'
},
{
src: 'icons/icon-512x512.png',
sizes: '512x512',
type: 'image/png'
}
] ]
} }
}, },

View File

@ -12,19 +12,20 @@
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>"
/> />
<link rel="icon" type="image/svg+xml" href="flaschengeist-logo.svg">
<link rel="alternate icon" type="image/ico" href="favicon.ico" />
<link <link
rel="icon" rel="apple-touch-icon"
type="image/png" type="image/png"
sizes="128x128" sizes="128x128"
href="icons/favicon-128x128.png" href="favicon-128x128.png"
/> />
<link <link
rel="icon" rel="apple-touch-icon"
type="image/png" type="image/png"
sizes="32x32" sizes="256x256"
href="icons/favicon-32x32.png" href="favicon-256x256.png"
/> />
<link rel="icon" type="image/ico" href="favicon.ico" />
</head> </head>
<body> <body>