aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/manifest.json13
-rw-r--r--src/components/Head.astro3
2 files changed, 14 insertions, 2 deletions
diff --git a/public/manifest.json b/public/manifest.json
index 725d7ff..b5e1228 100644
--- a/public/manifest.json
+++ b/public/manifest.json
@@ -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",
diff --git a/src/components/Head.astro b/src/components/Head.astro
index 8ed2224..de74ff2 100644
--- a/src/components/Head.astro
+++ b/src/components/Head.astro
@@ -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" />