19 lines
457 B
TypeScript
19 lines
457 B
TypeScript
import { businessConfig } from "@/lib/seo-config"
|
|
|
|
export function WebsiteSchema() {
|
|
const structuredData = {
|
|
"@context": "https://schema.org",
|
|
"@type": "WebSite",
|
|
name: businessConfig.name,
|
|
alternateName: businessConfig.shortName,
|
|
url: businessConfig.website,
|
|
inLanguage: "en-US",
|
|
}
|
|
|
|
return (
|
|
<script
|
|
type="application/ld+json"
|
|
dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}
|
|
/>
|
|
)
|
|
}
|