diff --git a/packages/docs/astro.config.mjs b/packages/docs/astro.config.mjs index 2b0fba09..243e7c97 100644 --- a/packages/docs/astro.config.mjs +++ b/packages/docs/astro.config.mjs @@ -15,6 +15,10 @@ export default defineConfig({ social: { github: "https://github.com/jimp-dev/jimp", }, + favicon: "/favicon.png", + components: { + Head: "./src/overwrite-components/head.astro", + }, sidebar: [ { label: "Docs", diff --git a/packages/docs/public/favicon.png b/packages/docs/public/favicon.png new file mode 100644 index 00000000..027213c8 Binary files /dev/null and b/packages/docs/public/favicon.png differ diff --git a/packages/docs/public/favicon.svg b/packages/docs/public/favicon.svg deleted file mode 100644 index cba5ac14..00000000 --- a/packages/docs/public/favicon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/packages/docs/public/share-banner.png b/packages/docs/public/share-banner.png new file mode 100644 index 00000000..68a14bcd Binary files /dev/null and b/packages/docs/public/share-banner.png differ diff --git a/packages/docs/src/overwrite-components/head.astro b/packages/docs/src/overwrite-components/head.astro new file mode 100644 index 00000000..713d6798 --- /dev/null +++ b/packages/docs/src/overwrite-components/head.astro @@ -0,0 +1,11 @@ +--- +import type { Props } from "@astrojs/starlight/props"; +import Default from "@astrojs/starlight/components/Head.astro"; +--- + + + + + + +