From 68210992cfd7700ebaa0fc429a7fa7ecde56d1cc Mon Sep 17 00:00:00 2001 From: Zeh Fernandes Date: Wed, 15 Apr 2026 20:57:21 -0400 Subject: [PATCH 1/4] . --- apps/web/src/app/components/[slug]/page.tsx | 20 +++++++++ apps/web/src/app/components/page.tsx | 23 ++++++++++ apps/web/src/app/layout.tsx | 26 +++++++++++ apps/web/src/app/robots.ts | 24 +++++++++++ apps/web/src/app/sitemap.ts | 48 +++++++++++++++++++-- 5 files changed, 137 insertions(+), 4 deletions(-) diff --git a/apps/web/src/app/components/[slug]/page.tsx b/apps/web/src/app/components/[slug]/page.tsx index a008df1abd..997e3adced 100644 --- a/apps/web/src/app/components/[slug]/page.tsx +++ b/apps/web/src/app/components/[slug]/page.tsx @@ -69,8 +69,28 @@ export default async function ComponentPage({ params }: ComponentPageParams) { } const importedComponents = await getImportedComponentsFor(foundCategory); + + const jsonLd = { + '@context': 'https://schema.org', + '@type': 'SoftwareSourceCode', + name: `${foundCategory.name} — React Email Components`, + description: foundCategory.description, + programmingLanguage: ['TypeScript', 'React'], + runtimePlatform: 'Node.js', + codeRepository: 'https://github.com/resend/react-email', + url: `https://react.email/components/${slug}`, + hasPart: foundCategory.components.map((c) => ({ + '@type': 'SoftwareSourceCode', + name: c.title, + })), + }; + return ( +