Skip to content

Commit

Permalink
feat: update favicon (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan4yin authored Nov 18, 2024
1 parent 9021679 commit 33c2b5f
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 117 deletions.
13 changes: 12 additions & 1 deletion docs/.vitepress/config/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,18 @@ export const shared = defineConfig({
},

head: [
["link", { rel: "icon", href: "/favicon-32x32.png" }],
["link", { rel: "icon", href: "/favicon.svg" }],
["link", { rel: "shortcut icon", href: "/favicon.ico" }],
// Google Search and Android Chrome
["link", { rel: "icon", href: "/favicon-96x96.png", sizes: "96x96" }],
["link", { rel: "icon", href: "/web-app-manifest-192x192.png", sizes: "192x192" }],
["link", { rel: "icon", href: "/web-app-manifest-512x512.png", sizes: "512x512" }],
// For Apple iPhone/iPad
["link", { rel: "apple-touch-icon", href: "/apple-touch-icon.png", sizes: "180x180" }],

// site.manifest
["link", { rel: "manifest", href: "/site.webmanifest" }],

["meta", { name: "theme-color", content: "#5f67ee" }],
["meta", { name: "og:type", content: "website" }],
["meta", { name: "og:site_name", content: "NixOS & Flakes Book" }],
Expand Down
Binary file removed docs/public/android-chrome-192x192.png
Binary file not shown.
Binary file removed docs/public/android-chrome-512x512.png
Binary file not shown.
Binary file modified docs/public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 0 additions & 9 deletions docs/public/browserconfig.xml

This file was deleted.

Binary file removed docs/public/favicon-16x16.png
Binary file not shown.
Binary file removed docs/public/favicon-32x32.png
Binary file not shown.
Binary file added docs/public/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/public/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions docs/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/public/mstile-150x150.png
Binary file not shown.
100 changes: 0 additions & 100 deletions docs/public/safari-pinned-tab.svg

This file was deleted.

16 changes: 9 additions & 7 deletions docs/public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
{
"name": "",
"short_name": "",
"name": "NixOS&Flakes",
"short_name": "NixOS&Flakes",
"icons": [
{
"src": "/android-chrome-192x192.png",
"src": "/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png"
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/android-chrome-512x512.png",
"src": "/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png"
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
}
Binary file added docs/public/web-app-manifest-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/public/web-app-manifest-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 33c2b5f

Please sign in to comment.