diff --git a/apps/web/src/lib/seo.ts b/apps/web/src/lib/seo.ts index 5f6a459..681bbad 100644 --- a/apps/web/src/lib/seo.ts +++ b/apps/web/src/lib/seo.ts @@ -54,7 +54,6 @@ export function openGraphMeta({ export const noIndexMeta = [{ name: "robots", content: "noindex, nofollow" }] as const; export const faqJsonLd = { - "@context": "https://schema.org", "@type": "FAQPage", mainEntity: [ { @@ -101,7 +100,6 @@ export const faqJsonLd = { }; export const productJsonLd = { - "@context": "https://schema.org", "@type": "SoftwareApplication", name: "Amend.sh", applicationCategory: "BusinessApplication", @@ -154,7 +152,6 @@ export const productJsonLd = { }; export const organizationJsonLd = { - "@context": "https://schema.org", "@type": "Organization", name: "Amend.sh", url: siteUrl, diff --git a/apps/web/src/routes/index.tsx b/apps/web/src/routes/index.tsx index 55a47f9..c0442e3 100644 --- a/apps/web/src/routes/index.tsx +++ b/apps/web/src/routes/index.tsx @@ -56,7 +56,10 @@ function HomeComponent() { type="application/ld+json" suppressHydrationWarning dangerouslySetInnerHTML={{ - __html: JSON.stringify([organizationJsonLd, productJsonLd, faqJsonLd]), + __html: JSON.stringify({ + "@context": "https://schema.org", + "@graph": [organizationJsonLd, productJsonLd, faqJsonLd], + }), }} />