diff --git a/website/astro.config.mjs b/website/astro.config.mjs index 2e2fc826d2..51994194dc 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -17,6 +17,12 @@ export default defineConfig({ replacesTitle: true, }, favicon: '/favicon.png', + head: [ + { tag: 'meta', attrs: { property: 'og:image', content: 'https://sqlbuild.com/assets/og-docs.png' } }, + { tag: 'meta', attrs: { property: 'og:image:width', content: '1200' } }, + { tag: 'meta', attrs: { property: 'og:image:height', content: '630' } }, + { tag: 'meta', attrs: { name: 'twitter:image', content: 'https://sqlbuild.com/assets/og-docs.png' } }, + ], social: [ { icon: 'github', label: 'GitHub', href: 'https://github.com/chio-labs/sqlbuild' }, { icon: 'discord', label: 'Discord', href: 'https://discord.gg/tYU4nXdsT' }, diff --git a/website/public/assets/og-docs.png b/website/public/assets/og-docs.png new file mode 100644 index 0000000000..3d70cb4093 Binary files /dev/null and b/website/public/assets/og-docs.png differ diff --git a/website/public/assets/og-home.png b/website/public/assets/og-home.png new file mode 100644 index 0000000000..c35ad1bf99 Binary files /dev/null and b/website/public/assets/og-home.png differ diff --git a/website/public/index.html b/website/public/index.html index 6cb6d90a1f..57cbf74507 100644 --- a/website/public/index.html +++ b/website/public/index.html @@ -15,7 +15,12 @@ /> - + + + + + + @@ -77,7 +82,7 @@