/
outbreak
/
kilocode
Обзор
Документация
Войти
/
outbreak
/
kilocode
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
apps/web-roo-code/src/components/structured-data.tsx
26 строк
687 B
Matt Rubens
Add structured data to the homepage (#8427)
01 окт 2025, 06:53
Не верифицирован
01 окт 2025, 06:53
f8ed7a7
Код
Авторство
О чём код?
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), }} /> ) }