Skip to content

Commit

Permalink
fix: favicons
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Oct 6, 2023
1 parent 097a703 commit 06a2395
Show file tree
Hide file tree
Showing 16 changed files with 238 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
dist/
# generated types
.astro/
# package lock file used for production
package-lock.json

# dependencies
node_modules/
Expand Down
43 changes: 42 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,49 @@ export default defineConfig({
integrations: [
starlight({
title: "AstroNvim",
favicon: "/astronvim.svg",
head: [
{
tag: "link",
attrs: {
rel: "icon",
href: "https://astronvim.com/logo/astronvim.svg",
size: "image/svg+xml",
},
},
{
tag: "link",
attrs: {
rel: "icon",
href: "https://astronvim.com/logo/favicon.ico",
size: "any",
},
},
{
tag: "link",
attrs: {
rel: "apple-touch-icon",
href: "https://astronvim.com/logo/apple-touch-icon.png",
},
},
{
tag: "link",
attrs: {
rel: "manifest",
href: "/manifest.webmanifest",
},
},
{
tag: "script",
attrs: {
src: "https://plausible.mehalter.com/js/script.js",
defer: true,
"data-domain": "docs.astronvim.com",
},
},
],
logo: {
src: "./src/assets/logo/astronvim.svg",
src: "./src/assets/astronvim.svg",
},
customCss: [
// Path to your Tailwind base styles:
Expand Down
File renamed without changes
Binary file removed public/favicon.ico
Binary file not shown.
14 changes: 14 additions & 0 deletions public/manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"icons": [
{
"src": "https://astronvim.com/logo/android-chrome-192x192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "https://astronvim.com/logo/android-chrome-512x512.png",
"type": "image/png",
"sizes": "512x512"
}
]
}
180 changes: 180 additions & 0 deletions src/assets/astronvim.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 src/assets/logo/android-chrome-192x192.png
Binary file not shown.
Binary file removed src/assets/logo/android-chrome-512x512.png
Binary file not shown.
Binary file removed src/assets/logo/apple-touch-icon.png
Binary file not shown.
Binary file removed src/assets/logo/astronvim.png
Binary file not shown.
Binary file removed src/assets/logo/astronvim_cool.png
Binary file not shown.
Binary file removed src/assets/logo/astronvim_square.png
Binary file not shown.
Binary file removed src/assets/logo/banner.fig
Binary file not shown.
Binary file removed src/assets/logo/banner.png
Binary file not shown.
Binary file removed src/assets/logo/favicon-16x16.png
Binary file not shown.
Binary file removed src/assets/logo/favicon-32x32.png
Binary file not shown.

0 comments on commit 06a2395

Please sign in to comment.