Skip to content

Commit 75d3818

Browse files
authored
[Chore] Update preview images (#19837)
1 parent 22553ce commit 75d3818

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

public/changelog-preview.png

249 KB
Loading

public/core-services-preview.png

325 KB
Loading

public/dev-products-preview.png

116 KB
Loading

public/zt-preview.png

129 KB
Loading

src/components/overrides/Head.astro

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ if (currentSection) {
6868
const group = product.data.product.group.toLowerCase();
6969
7070
let ogImage = "https://developers.cloudflare.com/cf-twitter-card.png";
71+
let changelogImage =
72+
"https://developers.cloudflare.com/changelog-preview.png";
7173
const images: Record<string, string> = {
7274
"cloudflare essentials":
7375
"https://developers.cloudflare.com/core-services-preview.png",
@@ -86,6 +88,10 @@ if (currentSection) {
8688
ogImage = images[group];
8789
}
8890
91+
if (currentSection === "changelog") {
92+
ogImage = changelogImage;
93+
}
94+
8995
const tags = [
9096
{
9197
tag: "meta",

0 commit comments

Comments
 (0)