diff --git a/.gitignore b/.gitignore index 49ceb2158..cf1f0223a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,8 @@ dist/ # generated types .astro/ +# package lock file used for production +package-lock.json # dependencies node_modules/ diff --git a/astro.config.mjs b/astro.config.mjs index 3b574f95e..8a3fb7769 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -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: diff --git a/src/assets/logo/astronvim.svg b/public/astronvim.svg similarity index 100% rename from src/assets/logo/astronvim.svg rename to public/astronvim.svg diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index 9c112aa3c..000000000 Binary files a/public/favicon.ico and /dev/null differ diff --git a/public/manifest.webmanifest b/public/manifest.webmanifest new file mode 100644 index 000000000..f7c08fd66 --- /dev/null +++ b/public/manifest.webmanifest @@ -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" + } + ] +} diff --git a/src/assets/astronvim.svg b/src/assets/astronvim.svg new file mode 100644 index 000000000..a0e0de018 --- /dev/null +++ b/src/assets/astronvim.svg @@ -0,0 +1,180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/logo/android-chrome-192x192.png b/src/assets/logo/android-chrome-192x192.png deleted file mode 100644 index 86cbb41f4..000000000 Binary files a/src/assets/logo/android-chrome-192x192.png and /dev/null differ diff --git a/src/assets/logo/android-chrome-512x512.png b/src/assets/logo/android-chrome-512x512.png deleted file mode 100644 index 24ef037d7..000000000 Binary files a/src/assets/logo/android-chrome-512x512.png and /dev/null differ diff --git a/src/assets/logo/apple-touch-icon.png b/src/assets/logo/apple-touch-icon.png deleted file mode 100644 index 2572b0411..000000000 Binary files a/src/assets/logo/apple-touch-icon.png and /dev/null differ diff --git a/src/assets/logo/astronvim.png b/src/assets/logo/astronvim.png deleted file mode 100644 index d77bde821..000000000 Binary files a/src/assets/logo/astronvim.png and /dev/null differ diff --git a/src/assets/logo/astronvim_cool.png b/src/assets/logo/astronvim_cool.png deleted file mode 100644 index dae46d99d..000000000 Binary files a/src/assets/logo/astronvim_cool.png and /dev/null differ diff --git a/src/assets/logo/astronvim_square.png b/src/assets/logo/astronvim_square.png deleted file mode 100644 index 1e24d532b..000000000 Binary files a/src/assets/logo/astronvim_square.png and /dev/null differ diff --git a/src/assets/logo/banner.fig b/src/assets/logo/banner.fig deleted file mode 100644 index ec9602c30..000000000 Binary files a/src/assets/logo/banner.fig and /dev/null differ diff --git a/src/assets/logo/banner.png b/src/assets/logo/banner.png deleted file mode 100644 index f942f096b..000000000 Binary files a/src/assets/logo/banner.png and /dev/null differ diff --git a/src/assets/logo/favicon-16x16.png b/src/assets/logo/favicon-16x16.png deleted file mode 100644 index 3cf8a8f75..000000000 Binary files a/src/assets/logo/favicon-16x16.png and /dev/null differ diff --git a/src/assets/logo/favicon-32x32.png b/src/assets/logo/favicon-32x32.png deleted file mode 100644 index c4dff8366..000000000 Binary files a/src/assets/logo/favicon-32x32.png and /dev/null differ