0
mirror of https://github.com/valentineus/popov.link.git synced 2025-06-07 18:43:34 +03:00

perf: improve site icon loading

This commit is contained in:
Valentin Popov 2025-06-05 23:33:09 +00:00
parent e9612c756b
commit e56c4f3edf
Signed by: Valentin Popov
GPG Key ID: AE3CE523DAAA8401
2 changed files with 14 additions and 2 deletions

View File

@ -3,8 +3,19 @@
"short_name": "popov.link",
"icons": [
{
"src": "favicon.png",
"sizes": "32x32",
"type": "image/png"
},
{
"src": "apple-touch-icon.png",
"sizes": "180x180",
"type": "image/png"
},
{
"src": "google-touch-icon.png",
"sizes": "512x512",
"src": "google-touch-icon.png"
"type": "image/png"
}
],
"background_color": "#ffffff",

View File

@ -22,7 +22,8 @@ const { description, title } = Astro.props;
<title>{title}</title>
<link rel="icon" href="/favicon.png" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.json" />
<meta name="theme-color" content="#ffffff" />