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 @@

The refactorable warehouse

└── revenue.sqlmodels └── finance └── daily_revenue.sql -sqb planMigrations (1)└── daily_revenue migrate prod.revenue -> prod.daily_revenue ├── compatibility compatible ├── transfer physical copy, promote by staged rename └── discovery automatic +sqb planMigrations (1)└── daily_revenue migrate prod.revenue -> prod.daily_revenue ├── compatibility compatible ├── transfer physical copy, promote by staged rename └── discovery automatic
diff --git a/website/public/styles.css b/website/public/styles.css index c9e560fee7..bf9b218e28 100644 --- a/website/public/styles.css +++ b/website/public/styles.css @@ -960,6 +960,10 @@ footer a { @media (max-width: 620px) { .hero-visual { + justify-self: stretch; + } + + .hero-visual .hv-wide { display: none; } }