Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions website/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand Down
Binary file added website/public/assets/og-docs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/public/assets/og-home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions website/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
/>
<meta property="og:type" content="website" />
<meta property="og:url" content="https://sqlbuild.com/" />
<meta property="og:image" content="https://sqlbuild.com/assets/og-icon.png" />
<meta property="og:image" content="https://sqlbuild.com/assets/og-home.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:alt" content="SQLBuild: the refactorable warehouse. A model is moved and renamed, and sqb plan migrates the existing table." />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://sqlbuild.com/assets/og-home.png" />
<link rel="icon" type="image/png" href="assets/icon.png" />
<link rel="preload" href="/fonts/inter-latin-wght-normal.woff2" as="font" type="font/woff2" crossorigin />
<link rel="stylesheet" href="styles.css" />
Expand Down Expand Up @@ -77,7 +82,7 @@ <h1>The refactorable warehouse</h1>
<span class="dim">└──</span> revenue.sql</span></span><span class="hv-b"><span class="tree"><span class="dim">models</span>
<span class="dim">└──</span> finance
<span class="dim">└──</span> <span class="info">daily_revenue.sql</span></span></span></span>
<span class="hv-l hv-l1"><span class="cmd">sqb plan</span></span><span class="hv-l hv-l2">Migrations (1)</span><span class="hv-l hv-l3"><span class="tree"><span class="dim">└──</span></span> daily_revenue migrate prod.revenue -&gt; prod.daily_revenue</span><span class="hv-l hv-l4"><span class="tree"> <span class="dim">├──</span></span> compatibility compatible</span><span class="hv-l hv-l5"><span class="tree"> <span class="dim">├──</span></span> transfer physical copy, promote by staged rename</span><span class="hv-l hv-l6"><span class="tree"> <span class="dim">└──</span></span> discovery automatic</span></div>
<span class="hv-l hv-l1"><span class="cmd">sqb plan</span></span><span class="hv-l hv-l2">Migrations (1)</span><span class="hv-l hv-l3"><span class="tree"><span class="dim">└──</span></span> daily_revenue migrate<span class="hv-wide"> prod.revenue -&gt; prod.daily_revenue</span></span><span class="hv-l hv-l4"><span class="tree"> <span class="dim">├──</span></span> compatibility compatible</span><span class="hv-l hv-l5"><span class="tree"> <span class="dim">├──</span></span> transfer physical copy<span class="hv-wide">, promote by staged rename</span></span><span class="hv-l hv-l6"><span class="tree"> <span class="dim">└──</span></span> discovery automatic</span></div>
</div>

<section>
Expand Down
4 changes: 4 additions & 0 deletions website/public/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,10 @@ footer a {

@media (max-width: 620px) {
.hero-visual {
justify-self: stretch;
}

.hero-visual .hv-wide {
display: none;
}
}
Loading