Skip to content

Commit 487f112

Browse files
committed
feat: update favicon
1 parent 9021679 commit 487f112

15 files changed

+24
-117
lines changed

docs/.vitepress/config/shared.ts

+12-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,18 @@ export const shared = defineConfig({
4343
},
4444

4545
head: [
46-
["link", { rel: "icon", href: "/favicon-32x32.png" }],
46+
["link", { rel: "icon", href: "/favicon.svg" }],
47+
["link", { rel: "shortcut icon", href: "/favicon.ico" }],
48+
// Google Search and Android Chrome
49+
["link", { rel: "icon", href: "/favicon-96x96.png", sizes: "96x96" }],
50+
["link", { rel: "icon", href: "/web-app-manifest-192x192.png", sizes: "192x192" }],
51+
["link", { rel: "icon", href: "/web-app-manifest-512x512.png", sizes: "512x512" }],
52+
// For Apple iPhone/iPad
53+
["link", { rel: "apple-touch-icon", href: "/apple-touch-icon.png", sizes: "180x180" }],
54+
55+
// site.manifest
56+
["link", { rel: "manifest", href: "/site.webmanifest" }],
57+
4758
["meta", { name: "theme-color", content: "#5f67ee" }],
4859
["meta", { name: "og:type", content: "website" }],
4960
["meta", { name: "og:site_name", content: "NixOS & Flakes Book" }],
-15.2 KB
Binary file not shown.
-41.9 KB
Binary file not shown.

docs/public/apple-touch-icon.png

31.5 KB
Loading

docs/public/browserconfig.xml

-9
This file was deleted.

docs/public/favicon-16x16.png

-1.43 KB
Binary file not shown.

docs/public/favicon-32x32.png

-2.16 KB
Binary file not shown.

docs/public/favicon-96x96.png

14.7 KB
Loading

docs/public/favicon.ico

0 Bytes
Binary file not shown.

docs/public/favicon.svg

+3
Loading

docs/public/mstile-150x150.png

-8.69 KB
Binary file not shown.

docs/public/safari-pinned-tab.svg

-100
This file was deleted.

docs/public/site.webmanifest

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
{
2-
"name": "",
3-
"short_name": "",
2+
"name": "NixOS&Flakes",
3+
"short_name": "NixOS&Flakes",
44
"icons": [
55
{
6-
"src": "/android-chrome-192x192.png",
6+
"src": "/web-app-manifest-192x192.png",
77
"sizes": "192x192",
8-
"type": "image/png"
8+
"type": "image/png",
9+
"purpose": "maskable"
910
},
1011
{
11-
"src": "/android-chrome-512x512.png",
12+
"src": "/web-app-manifest-512x512.png",
1213
"sizes": "512x512",
13-
"type": "image/png"
14+
"type": "image/png",
15+
"purpose": "maskable"
1416
}
1517
],
1618
"theme_color": "#ffffff",
1719
"background_color": "#ffffff",
1820
"display": "standalone"
19-
}
21+
}
50.6 KB
Loading
286 KB
Loading

0 commit comments

Comments
 (0)