Skip to content

Commit 493ad01

Browse files
authored
Fix og:image for social platform compatibility (#14)
## Summary - Added PNG version of og-image (converted from SVG at 1200x630) - Updated og:image and twitter:image meta tags to reference PNG instead of SVG - Most social platforms (Twitter/X, Slack, Discord, LinkedIn, iMessage) don't render SVG og:images ## Test plan - Share https://vscode.copilotkit.dev on Slack/Twitter and verify the preview card renders
2 parents 4c1f1ab + 29d044e commit 493ad01

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
property="og:description"
2525
content="Preview generative UI, explore 28 hooks, and inspect AG-UI protocol streams — all without leaving VS Code."
2626
/>
27-
<meta property="og:image" content="https://vscode.copilotkit.dev/og-image.svg" />
27+
<meta property="og:image" content="https://vscode.copilotkit.dev/og-image.png" />
2828
<meta property="og:image:width" content="1200" />
2929
<meta property="og:image:height" content="630" />
3030
<meta name="twitter:card" content="summary_large_image" />
@@ -33,7 +33,7 @@
3333
name="twitter:description"
3434
content="Preview generative UI, explore 28 hooks, and inspect AG-UI protocol streams — all without leaving VS Code."
3535
/>
36-
<meta name="twitter:image" content="https://vscode.copilotkit.dev/og-image.svg" />
36+
<meta name="twitter:image" content="https://vscode.copilotkit.dev/og-image.png" />
3737

3838
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
3939

docs/og-image.png

53 KB
Loading

0 commit comments

Comments
 (0)