Skip to content

Commit e51c59a

Browse files
committed
Fix dark social card framing for square previews
1 parent 4e02111 commit e51c59a

4 files changed

Lines changed: 9 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ publishing or deployment step.
3737

3838
`favicon.ico` contains 16px, 32px and 48px icons. PNG favicons and a 180px Apple touch icon use the
3939
original SQLStack mark on white backing for legibility in light and dark browser chrome.
40-
`assets/og-sqlstack.png` is an opaque 1200 × 630 sharing card using the original SQLStack wordmark
41-
and the site's Inter typography. These are raster derivatives, not replacement logos or SVG originals.
40+
`assets/og-sqlstack-dark.png` is an opaque 1200 × 630 sharing card using the original SQLStack
41+
wordmark and the site's Inter typography on a near-black background. Its branding and text fit
42+
inside the central 630px square so small thumbnail crops retain the complete message. The previous
43+
`assets/og-sqlstack.png` remains available for cached metadata. These are raster derivatives, not
44+
replacement logos or SVG originals.
4245

4346
Canonical and Open Graph/Twitter URLs target `https://sqlstack.io/`. Local previews can verify the
4447
metadata and assets, but public social-crawler validation requires a separately authorized deployment.

‎assets/og-sqlstack-dark.png‎

212 KB
Loading

‎index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
<meta property="og:title" content="SQLStack | Your data stack. Engineered to change.">
1313
<meta property="og:description" content="Rust-backed SQL and Python tools for data engineers. Compile-time checks, tested behaviour and enforceable architecture.">
1414
<meta property="og:url" content="https://sqlstack.io/">
15-
<meta property="og:image" content="https://sqlstack.io/assets/og-sqlstack.png">
15+
<meta property="og:image" content="https://sqlstack.io/assets/og-sqlstack-dark.png">
1616
<meta property="og:image:type" content="image/png">
1717
<meta property="og:image:width" content="1200">
1818
<meta property="og:image:height" content="630">
1919
<meta property="og:image:alt" content="SQLStack. Your data stack. Engineered to change. Rust-backed SQL and Python tools for data engineers.">
2020
<meta name="twitter:card" content="summary_large_image">
2121
<meta name="twitter:title" content="SQLStack | Your data stack. Engineered to change.">
2222
<meta name="twitter:description" content="Rust-backed SQL and Python tools for data engineers. Compile-time checks, tested behaviour and enforceable architecture.">
23-
<meta name="twitter:image" content="https://sqlstack.io/assets/og-sqlstack.png">
23+
<meta name="twitter:image" content="https://sqlstack.io/assets/og-sqlstack-dark.png">
2424
<meta name="twitter:image:alt" content="SQLStack. Your data stack. Engineered to change. Rust-backed SQL and Python tools for data engineers.">
2525
<link rel="icon" href="favicon.ico" type="image/vnd.microsoft.icon" sizes="16x16 32x32 48x48">
2626
<link rel="icon" href="assets/favicon-16.png" type="image/png" sizes="16x16">

‎tests/website.spec.mjs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ test('approved products, sharing assets and responsive navigation work in both t
6969
await expect(page.locator('meta[property="og:url"]')).toHaveAttribute('content', 'https://sqlstack.io/');
7070
await expect(page.locator('meta[name="twitter:card"]')).toHaveAttribute('content', 'summary_large_image');
7171
for (const selector of ['meta[property="og:image"]', 'meta[name="twitter:image"]']) {
72-
await expect(page.locator(selector)).toHaveAttribute('content', 'https://sqlstack.io/assets/og-sqlstack.png');
72+
await expect(page.locator(selector)).toHaveAttribute('content', 'https://sqlstack.io/assets/og-sqlstack-dark.png');
7373
}
7474
for (const [path, width, height] of [
75-
['/assets/og-sqlstack.png', 1200, 630],
75+
['/assets/og-sqlstack-dark.png', 1200, 630],
7676
['/assets/favicon-16.png', 16, 16],
7777
['/assets/favicon-32.png', 32, 32],
7878
['/assets/apple-touch-icon.png', 180, 180],

0 commit comments

Comments
 (0)