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
Binary file added public/layout/icon.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 removed public/layout/logo.png
Binary file not shown.
6 changes: 3 additions & 3 deletions src/layouts/global.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const fullTitle = title ? `${title} - Media over QUIC` : "Media over QUIC";
const fullDescription = description
? `Media over QUIC: ${description}`
: "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.";
const ogImage = new URL(frontmatter?.cover ?? "/layout/logo.png", siteUrl).toString();
const ogImage = new URL(frontmatter?.cover ?? "/layout/icon.png", siteUrl).toString();
---

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

<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
Expand Down
Loading