Roo-Code/apps/web-roo-code/src/components/structured-data.tsx
Matt Rubens f8ed7a7931
Add structured data to the homepage (#8427)
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
2025-09-30 23:53:20 -04:00

26 lines
687 B
TypeScript

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 (
<script
type="application/ld+json"
dangerouslySetInnerHTML={{
__html: JSON.stringify(structuredData),
}}
/>
)
}