Skip to content

The Open Standard for Generative UI

docs: add WebSite JSON-LD and Organization logo on homepage, BreadcrumbList on integration pages (#1372)

devin-ai-integration[bot]d93c14dfac07
diff --git a/docs/app/(home)/integrations/[slug]/page.tsx b/docs/app/(home)/integrations/[slug]/page.tsx
index 03c1b57ed..7c78dd54a 100644
--- a/docs/app/(home)/integrations/[slug]/page.tsx
+++ b/docs/app/(home)/integrations/[slug]/page.tsx
@@ -1,5 +1,7 @@
import { Footer } from "@/app/(home)/sections/Footer/Footer";
+import { JsonLd } from "@/components/seo/JsonLd";
import { createPageMetadata } from "@/lib/page-metadata";
+import { BASE_URL } from "@/lib/source";
import { ArrowLeft, ArrowRight, ArrowUpRight } from "lucide-react";
import type { Metadata } from "next";
import Link from "next/link";
@@ -41,8 +43,25 @@ export default async function IntegrationDetailPage(props: { params: Promise<{ s
const category = getIntegrationCategory(integration.category);
const related = getRelatedIntegrations(integration);
+ const breadcrumbs = [
+ { name: "Home", item: BASE_URL },
+ { name: "Integrations", item: `${BASE_URL}/integrations` },
+ { name: integration.name, item: `${BASE_URL}/integrations/${slug}` },
+ ];
+
return (
<main className={styles.detailPage}>
+ <JsonLd
+ data={{
+ "@context": "https://schema.org",
+ "@type": "BreadcrumbList",
+ itemListElement: breadcrumbs.map((crumb, i) => ({
+ "@type": "ListItem",
+ position: i + 1,
+ ...crumb,
+ })),
+ }}
+ />
<div className={styles.detailHero}>
<div className={styles.detailHeroInner}>
<Link className={styles.detailBackLink} href="/integrations">
diff --git a/docs/app/(home)/page.tsx b/docs/app/(home)/page.tsx
index dd0e2a4f4..3a0d78609 100644
--- a/docs/app/(home)/page.tsx
+++ b/docs/app/(home)/page.tsx
@@ -30,6 +30,12 @@ const structuredData = {
"@id": "https://www.thesys.dev/#organization",
name: "Thesys",
url: "https://www.thesys.dev",
+ logo: {
+ "@type": "ImageObject",
+ url: "https://www.thesys.dev/thesys-logo-bw.png",
+ width: 360,
+ height: 360,
+ },
sameAs: [
"https://github.com/thesysdev",
"https://x.com/thesysdev",
@@ -57,6 +63,14 @@ const structuredData = {
"https://www.linkedin.com/company/thesysdev/",
],
},
+ {
+ "@type": "WebSite",
+ "@id": `${BASE_URL}/#website`,
+ name: "OpenUI",
+ alternateName: "OpenUI by Thesys",
+ url: BASE_URL,
+ publisher: { "@id": "https://www.thesys.dev/#organization" },
+ },
{
"@type": "FAQPage",
"@id": `${BASE_URL}/#faq`,