This repository has no description
Something went wrong. Try again.
748 B · 32 lines
TSX
at main
123456789101112131415161718192021222324252627282930313233import siteConfig from '@/lib/site-config'
export function WebsiteSchema() { const websiteSchema = { '@context': 'https://schema.org', '@type': 'WebSite', name: siteConfig.title, description: siteConfig.description, url: 'https://arter.dev', author: { '@type': 'Person', name: 'Chris Arter', url: 'https://arter.dev', }, publisher: { '@type': 'Person', name: 'Chris Arter', url: 'https://arter.dev', image: { '@type': 'ImageObject', url: 'https://arter.dev/images/chris-arter.jpg', }, }, }
return ( <script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(websiteSchema, null, 2) }} /> )}