[Chore] Update preview images (#19837)

This commit is contained in:
Kody Jackson 2025-02-10 09:03:47 -06:00 committed by GitHub
parent 22553ce156
commit 75d3818e1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 6 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 446 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 188 KiB

View file

@ -68,6 +68,8 @@ if (currentSection) {
const group = product.data.product.group.toLowerCase();
let ogImage = "https://developers.cloudflare.com/cf-twitter-card.png";
let changelogImage =
"https://developers.cloudflare.com/changelog-preview.png";
const images: Record<string, string> = {
"cloudflare essentials":
"https://developers.cloudflare.com/core-services-preview.png",
@ -86,6 +88,10 @@ if (currentSection) {
ogImage = images[group];
}
if (currentSection === "changelog") {
ogImage = changelogImage;
}
const tags = [
{
tag: "meta",