[Chore] Update preview images (#19837)
BIN
public/changelog-preview.png
Normal file
|
After Width: | Height: | Size: 249 KiB |
|
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 446 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 176 KiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 188 KiB |
|
|
@ -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",
|
||||
|
|
|
|||