Improve favicon

This commit is contained in:
Akira Tempaku 2025-03-31 01:53:13 +09:00
parent eff901319e
commit 44ba638a0d
Signed by: paku
GPG key ID: 5B4E8402BCC50607
8 changed files with 30 additions and 2 deletions

View file

@ -62,8 +62,12 @@
(meta :property "og:image:width" :content og-image-width)
(meta :property "og:image:height" :content og-image-height)
(link :rel "canonical" :href canonical)
(link :rel "icon" :type "image/x-icon" :href "/img/favicon.ico")
(link :rel "apple-touch-icon" :href "/img/favicon.ico")
(link :rel "icon" :type "image/png" :href "/img/favicon-96x96.png" :sizes "96x96")
(link :rel "icon" :type "image/svg+xml" :href "/img/favicon.svg")
(link :rel "shortcut icon" :href "/img/favicon.ico")
(link :rel "apple-touch-icon" :sizes "180x180" :href "/img/apple-touch-icon.png")
(meta :name "apple-mobile-web-app-title" :content "skyizwhite")
(link :rel "manifest" :href "/img/site.webmanifest")
(link :rel "stylesheet" :href (bust-cache "/style/dist.css"))
(link :rel "preconnect" :href "https://api.fonts.coollabs.io")
(link :rel "stylesheet" :href "https://api.fonts.coollabs.io/css2?family=Noto+Sans+JP&display=swap")

BIN
static/img/apple-touch-icon.png Executable file

Binary file not shown.

After

(image error) Size: 66 KiB

BIN
static/img/favicon-96x96.png Executable file

Binary file not shown.

After

(image error) Size: 21 KiB

BIN
static/img/favicon.ico Normal file → Executable file

Binary file not shown.

Before

Width: 128px  |  Height: 128px  |  Size: 66 KiB

After

Width: 48px  |  Height: 48px  |  Size: 15 KiB

Before After
Before After

3
static/img/favicon.svg Executable file

File diff suppressed because one or more lines are too long

After

(image error) Size: 284 KiB

21
static/img/site.webmanifest Executable file
View file

@ -0,0 +1,21 @@
{
"name": "skyizwhite.dev",
"short_name": "skyizwhite",
"icons": [
{
"src": "/img/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/img/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}

Binary file not shown.

After

(image error) Size: 75 KiB

Binary file not shown.

After

(image error) Size: 420 KiB