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 ( +