diff --git a/apps/web-roo-code/src/app/page.tsx b/apps/web-roo-code/src/app/page.tsx index b062d5845c87..6aa9d34db1f6 100644 --- a/apps/web-roo-code/src/app/page.tsx +++ b/apps/web-roo-code/src/app/page.tsx @@ -14,6 +14,7 @@ import { } from "@/components/homepage" import { EXTERNAL_LINKS } from "@/lib/constants" import { ArrowRight } from "lucide-react" +import { StructuredData } from "@/components/structured-data" // Invalidate cache when a request comes in, at most once every hour. export const revalidate = 3600 @@ -23,6 +24,7 @@ export default async function Home() { return ( <> +
diff --git a/apps/web-roo-code/src/components/structured-data.tsx b/apps/web-roo-code/src/components/structured-data.tsx new file mode 100644 index 000000000000..0a7ba479e9d3 --- /dev/null +++ b/apps/web-roo-code/src/components/structured-data.tsx @@ -0,0 +1,26 @@ +import { getStructuredData } from "@/lib/structured-data" + +/** + * StructuredData Component + * + * Renders JSON-LD structured data in the document head for SEO. + * + * The structured data includes: + * - Organization information (brand, logo, social profiles) + * - WebSite metadata (site name for Google Search) + * - SoftwareApplication details (VS Code extension) + * + * @see https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data + */ +export function StructuredData() { + const structuredData = getStructuredData() + + return ( +