Skip to content

Commit 8596d8d

Browse files
kixelatedclaude
andauthored
Use smaller icon for og:image (#86)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2de4319 commit 8596d8d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

public/layout/icon.png

26.5 KB
Loading

public/layout/logo.png

-61.2 KB
Binary file not shown.

src/layouts/global.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const fullTitle = title ? `${title} - Media over QUIC` : "Media over QUIC";
2424
const fullDescription = description
2525
? `Media over QUIC: ${description}`
2626
: "Media over QUIC is a new live media protocol designed for simplicity and scale. It uses new browser technologies like WebTransport and WebCodecs to deliver media with latency that rivals WebRTC.";
27-
const ogImage = new URL(frontmatter?.cover ?? "/layout/logo.png", siteUrl).toString();
27+
const ogImage = new URL(frontmatter?.cover ?? "/layout/icon.png", siteUrl).toString();
2828
---
2929

3030
<!doctype html>
@@ -45,8 +45,8 @@ const ogImage = new URL(frontmatter?.cover ?? "/layout/logo.png", siteUrl).toStr
4545
<meta property="og:url" content={pageUrl} />
4646
<meta property="og:site_name" content="Media over QUIC" />
4747
<meta property="og:image" content={ogImage} />
48-
<meta property="og:image:width" content="1200" />
49-
<meta property="og:image:height" content="630" />
48+
<meta property="og:image:width" content="650" />
49+
<meta property="og:image:height" content="600" />
5050

5151
<!-- Twitter Card -->
5252
<meta name="twitter:card" content="summary_large_image" />

0 commit comments

Comments
 (0)