summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoão Augusto Costa Branco Marado Torres <torres.dev@disroot.org>2025-07-07 15:01:11 -0300
committerJoão Augusto Costa Branco Marado Torres <torres.dev@disroot.org>2025-07-07 15:01:11 -0300
commitf0f49168ef4cfc834eac8752e5aaa632f2e64fda (patch)
tree420308d39e9e525cc63699cfd52c09f03a586c9c
parent449f71511e539878af4c65f073cdc373b469c45e (diff)
fix: bad image types and missing images and links
Signed-off-by: João Augusto Costa Branco Marado Torres <torres.dev@disroot.org>
-rw-r--r--public/favicon-96.pngbin0 -> 5765 bytes
-rw-r--r--public/favicon.pngbin0 -> 8364 bytes
-rw-r--r--public/manifest.webmanifest20
-rw-r--r--src/components/BaseHead.astro3
4 files changed, 19 insertions, 4 deletions
diff --git a/public/favicon-96.png b/public/favicon-96.png
new file mode 100644
index 0000000..81b21b1
--- /dev/null
+++ b/public/favicon-96.png
Binary files differ
diff --git a/public/favicon.png b/public/favicon.png
new file mode 100644
index 0000000..6e69de8
--- /dev/null
+++ b/public/favicon.png
Binary files differ
diff --git a/public/manifest.webmanifest b/public/manifest.webmanifest
index c227c96..a1ab141 100644
--- a/public/manifest.webmanifest
+++ b/public/manifest.webmanifest
@@ -9,7 +9,7 @@
"value": "Cravo de Abril"
}
},
- "short_name": "Cravo Abril",
+ "short_name": "Cravo d'Abril",
"icons": [
{
"src": "./favicon.svg",
@@ -26,7 +26,19 @@
{
"src": "./favicon-96.webp",
"sizes": "96x96",
- "type": "image/svg",
+ "type": "image/webp",
+ "purpose": "any"
+ },
+ {
+ "src": "./favicon.png",
+ "sizes": "144x144",
+ "type": "image/png",
+ "purpose": "any"
+ },
+ {
+ "src": "./favicon-96.png",
+ "sizes": "96x96",
+ "type": "image/png",
"purpose": "any"
}
],
@@ -47,7 +59,7 @@
{
"src": "./favicon-96.webp",
"sizes": "96x96",
- "type": "image/svg",
+ "type": "image/webp",
"purpose": "any"
}
]
@@ -60,7 +72,7 @@
{
"src": "./favicon-96.webp",
"sizes": "96x96",
- "type": "image/svg",
+ "type": "image/webp",
"purpose": "any"
}
]
diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro
index b57127a..eb0adc6 100644
--- a/src/components/BaseHead.astro
+++ b/src/components/BaseHead.astro
@@ -41,6 +41,8 @@ const {
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/webp" sizes="144x144" href="/favicon.webp" />
<link rel="icon" type="image/webp" sizes="96x96" href="/favicon-96.webp" />
+<link rel="apple-touch-icon" sizes="144x144" href="/favicon.png" />
+<link rel="apple-touch-icon" sizes="96x96" href="/favicon-96.png" />
<link rel="sitemap" href="/sitemap-index.xml" />
<link
rel="alternate"
@@ -97,6 +99,7 @@ const {
<ClientRouter />
+<link rel="preload" href="/sw.js" />
<script>
import {
Workbox,