fix: logo icon on desktop chrome and favicon on mobile

This commit is contained in:
cuqmbr 2025-05-20 17:32:11 +03:00
parent 5b6984c140
commit 46c56d3ae6
Signed by: cuqmbr
GPG Key ID: 0AA446880C766199
10 changed files with 28 additions and 2 deletions

View File

@ -105,8 +105,8 @@ params:
displayTitle: true displayTitle: true
displayLogo: true displayLogo: true
logo: logo:
path: images/logo-128x128.svg path: images/logo-128x128.png
dark: images/logo-128x128.svg dark: images/logo-128x128.png
width: 30 width: 30
height: 15 height: 15
width: wide width: wide

View File

@ -0,0 +1,6 @@
<link rel="icon shortcut" href="{{ "favicon.ico" | relURL }}" sizes="32x32" />
<link rel="icon" href="{{ "favicon-16x16.png" | relURL }}" type="image/png" sizes="16x16" />
<link rel="icon" href="{{ "favicon-32x32.png" | relURL }}" type="image/png" sizes="32x32" />
<link rel="icon" href="{{ "android-chrome-192x192.png" | relURL }}" type="image/png" sizes="192x192" />
<link rel="icon" href="{{ "android-chrome-512x512.png" | relURL }}" type="image/png" sizes="512x512" />
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | relURL }}" sizes="180x180" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
static/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 666 B

BIN
static/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

View File

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

20
static/site.webmanifest Normal file
View File

@ -0,0 +1,20 @@
{
"name": "Hextra",
"short_name": "Hextra",
"start_url": "index.html",
"icons": [
{
"src": "android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#000000",
"background_color": "#000000",
"display": "standalone"
}