diff --git a/pages/_app.tsx b/pages/_app.tsx index 971e71bf9..10f6607c4 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -114,7 +114,7 @@ function MyApp({ Component, pageProps }: AppProps) { "Reliable serverless background functions on any platform"; const metaTitle = `Inngest - ${title}`; const disableMetadata = Boolean( - pageProps?.meta?.disabled === true || router.asPath.match(/^\/docs/) + isDocs || isCaseStudy || pageProps?.meta?.disabled === true ); // Warn during local dev if ( diff --git a/pages/customers/resend.mdx b/pages/customers/resend.mdx index 5a9e7b7b7..58b162f94 100644 --- a/pages/customers/resend.mdx +++ b/pages/customers/resend.mdx @@ -11,6 +11,7 @@ export const quote = { } export const companyURL = 'https://resend.com' export const companyDescription = 'The modern email sending platform' +export const ogImage = '/assets/customers/case-study/og-image-resend.png' [Resend (YC W23)](https://resend.com/) is modern email sending platform that's raising the bar for developer experience. The team's early success building the popular React Email library helped drive early growth which the team has continued to build on to make Resend a goto for developers. Since their launch, Resend has been scaling quickly which led them to exploring Inngest, specifically for developer experience (DX), observability, and reliability. ~~Game recognize game~~. Great DX recognize great DX. diff --git a/public/assets/customers/case-study/og-image-default.png b/public/assets/customers/case-study/og-image-default.png new file mode 100644 index 000000000..591e0bfe5 Binary files /dev/null and b/public/assets/customers/case-study/og-image-default.png differ diff --git a/public/assets/customers/case-study/og-image-resend.png b/public/assets/customers/case-study/og-image-resend.png new file mode 100644 index 000000000..d67f6ed4f Binary files /dev/null and b/public/assets/customers/case-study/og-image-resend.png differ diff --git a/shared/CaseStudy/Layout.tsx b/shared/CaseStudy/Layout.tsx index e13893437..1da3cda17 100644 --- a/shared/CaseStudy/Layout.tsx +++ b/shared/CaseStudy/Layout.tsx @@ -27,6 +27,7 @@ export type Props = { }; companyDescription: string; companyURL: string; + ogImage?: string; }; export function Layout({ @@ -37,10 +38,10 @@ export function Layout({ quote, companyDescription, companyURL, + ogImage = "/assets/customers/case-study/og-image-default.png", }: Props) { const metaTitle = `Case Study - ${companyName}`; const description = title; - const metaImage = getOpenGraphImageURL({ title: metaTitle }); return (
@@ -48,11 +49,12 @@ export function Layout({ + - +
diff --git a/shared/Docs/Layout.tsx b/shared/Docs/Layout.tsx index 58cdc5afe..4e69f0e24 100644 --- a/shared/Docs/Layout.tsx +++ b/shared/Docs/Layout.tsx @@ -48,7 +48,6 @@ export function Layout({ const metaDescription = description || `Inngest documentation for ${preferredTitle}`; const metaImage = getOpenGraphImageURL({ title: preferredTitle }); - return (
@@ -57,6 +56,7 @@ export function Layout({ +