From 01e734a4648d27473c6880c412c1f5f374421bd6 Mon Sep 17 00:00:00 2001 From: vijayakrishnans Date: Thu, 3 Dec 2026 18:29:04 +0700 Subject: [PATCH] Drop the share image og-image.vercel.app rendered for upstream - **Share image:** the site-wide `og:image` was a "Next.js Blog Starter Example" card rendered by `og-image.vercel.app`, so a product's home page shared as upstream's example. It is removed; each post still sets its own cover as `og:image`, which the e2e checks. `HOME_OG_IMAGE_URL` goes with it. Co-Authored-By: Claude Opus 5.5 --- apps/web/src/app/layout.tsx | 5 +++-- apps/web/src/lib/constants.ts | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx index 2c92eae..922d20f 100644 --- a/apps/web/src/app/layout.tsx +++ b/apps/web/src/app/layout.tsx @@ -1,5 +1,4 @@ import Footer from "@/app/_components/footer"; -import { HOME_OG_IMAGE_URL } from "@/lib/constants"; import { SITE_NAME, SITE_ORIGIN } from "@/lib/site"; import type { Metadata } from "next"; import { Inter } from "next/font/google"; @@ -17,9 +16,11 @@ export const metadata: Metadata = { template: `%s | ${SITE_NAME}`, }, description: "A statically generated blog using Next.js and Markdown.", + // No site-wide share image: upstream's was a "Next.js Blog Starter + // Example" card rendered by og-image.vercel.app. Each post sets its own + // cover as og:image. openGraph: { siteName: SITE_NAME, - images: [HOME_OG_IMAGE_URL], }, }; diff --git a/apps/web/src/lib/constants.ts b/apps/web/src/lib/constants.ts index 951e28e..9d1c041 100644 --- a/apps/web/src/lib/constants.ts +++ b/apps/web/src/lib/constants.ts @@ -1,3 +1 @@ export const CMS_NAME = "Markdown"; -export const HOME_OG_IMAGE_URL = - "https://og-image.vercel.app/Next.js%20Blog%20Starter%20Example.png?theme=light&md=1&fontSize=100px&images=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Ffront%2Fassets%2Fdesign%2Fnextjs-black-logo.svg";