From 5b9b43b419696056c98feef162d4bb3511cf21d1 Mon Sep 17 00:00:00 2001 From: Will Washburn Date: Tue, 15 Sep 2026 09:11:32 -0700 Subject: [PATCH] fix(web): separate homepage and flows social cards --- web/app/flows/page.tsx | 6 +++--- web/lib/og-meta.ts | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/web/app/flows/page.tsx b/web/app/flows/page.tsx index 2c484831..86da3636 100644 --- a/web/app/flows/page.tsx +++ b/web/app/flows/page.tsx @@ -11,7 +11,7 @@ import { InvestorStrip } from '../../components/InvestorStrip'; import { SiteFooter } from '../../components/SiteFooter'; import { SiteNav } from '../../components/SiteNav'; -import { HOME_OG_IMAGE_PATH, ogImage } from '../../lib/og-meta'; +import { FLOWS_OG_ALT, FLOWS_OG_IMAGE_PATH, ogImage } from '../../lib/og-meta'; import { absoluteUrl } from '../../lib/site'; import home from '../landing.module.css'; import s from './flows.module.css'; @@ -31,13 +31,13 @@ export const metadata: Metadata = { 'Write the steps once. Relayflows runs your agents in order, checks their work, and pauses for human approval.', url: absoluteUrl('/flows'), type: 'website', - images: [ogImage(HOME_OG_IMAGE_PATH, 'Relayflows by Agent Relay')], + images: [ogImage(FLOWS_OG_IMAGE_PATH, FLOWS_OG_ALT)], }, twitter: { card: 'summary_large_image', title: 'Relayflows: Script your agents', description: 'Write the steps once. Relayflows runs your agents and checks their work before moving on.', - images: [absoluteUrl(HOME_OG_IMAGE_PATH)], + images: [absoluteUrl(FLOWS_OG_IMAGE_PATH)], }, }; diff --git a/web/lib/og-meta.ts b/web/lib/og-meta.ts index 5417552e..7619240d 100644 --- a/web/lib/og-meta.ts +++ b/web/lib/og-meta.ts @@ -49,8 +49,10 @@ export function ogImage(path: string, alt: string): OgImage { export const DEFAULT_OG_ALT = 'Agent Relay — Headless Slack for Agents'; /** Static public card paths. Change the version suffix when the visual changes to bust social caches. */ -export const HOME_OG_ALT = 'Agent Relay Flows — a TypeScript script that runs agents and checks their work'; -export const HOME_OG_IMAGE_PATH = '/og/agent-relay-flows-v20260913.png'; +export const HOME_OG_ALT = 'Agent Relay — Turn coding agents into a working team'; +export const HOME_OG_IMAGE_PATH = '/og/agent-relay-home-v20260831.png'; +export const FLOWS_OG_ALT = 'Agent Relay Flows — a TypeScript script that runs agents and checks their work'; +export const FLOWS_OG_IMAGE_PATH = '/og/agent-relay-flows-v20260913.png'; export const DEFAULT_OG_IMAGE_PATH = '/og/agent-relay-default-v20260610.png'; /** The site-wide default card. */