Skip to content

Commit 71e49ef

Browse files
authored
docs: centre the link preview cards so square crops stay readable (#828)
1 parent 0cb0df8 commit 71e49ef

6 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎website/astro.config.mjs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ export default defineConfig({
1818
},
1919
favicon: '/favicon.png',
2020
head: [
21-
{ tag: 'meta', attrs: { property: 'og:image', content: 'https://sqlbuild.com/assets/og-docs.png' } },
21+
{ tag: 'meta', attrs: { property: 'og:image', content: 'https://sqlbuild.com/assets/og-sqlbuild-docs.png' } },
2222
{ tag: 'meta', attrs: { property: 'og:image:width', content: '1200' } },
2323
{ tag: 'meta', attrs: { property: 'og:image:height', content: '630' } },
24-
{ tag: 'meta', attrs: { name: 'twitter:image', content: 'https://sqlbuild.com/assets/og-docs.png' } },
24+
{ tag: 'meta', attrs: { name: 'twitter:image', content: 'https://sqlbuild.com/assets/og-sqlbuild-docs.png' } },
2525
],
2626
social: [
2727
{ icon: 'github', label: 'GitHub', href: 'https://github.com/chio-labs/sqlbuild' },

‎website/public/assets/og-docs.png‎

-51.2 KB
Binary file not shown.

‎website/public/assets/og-home.png‎

-63.1 KB
Binary file not shown.
50.3 KB
Loading
58.5 KB
Loading

‎website/public/index.html‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
/>
1616
<meta property="og:type" content="website" />
1717
<meta property="og:url" content="https://sqlbuild.com/" />
18-
<meta property="og:image" content="https://sqlbuild.com/assets/og-home.png" />
18+
<meta property="og:image" content="https://sqlbuild.com/assets/og-sqlbuild.png" />
1919
<meta property="og:image:width" content="1200" />
2020
<meta property="og:image:height" content="630" />
21-
<meta property="og:image:alt" content="SQLBuild: the refactorable warehouse. A model is moved and renamed, and sqb plan migrates the existing table." />
21+
<meta property="og:image:alt" content="SQLBuild: the refactorable warehouse. A model file is moved and renamed." />
2222
<meta name="twitter:card" content="summary_large_image" />
23-
<meta name="twitter:image" content="https://sqlbuild.com/assets/og-home.png" />
23+
<meta name="twitter:image" content="https://sqlbuild.com/assets/og-sqlbuild.png" />
2424
<link rel="icon" type="image/png" href="assets/icon.png" />
2525
<link rel="preload" href="/fonts/inter-latin-wght-normal.woff2" as="font" type="font/woff2" crossorigin />
2626
<link rel="stylesheet" href="styles.css" />

0 commit comments

Comments
 (0)