'use client'; import Script from 'next/script'; import { SITE_CONFIG } from '@/lib/seo/metadata'; // Organization Schema export function OrganizationSchema() { const schema = { '@context': 'https://schema.org', '@type': 'Organization', name: SITE_CONFIG.name, legalName: `${SITE_CONFIG.name} LLC`, url: SITE_CONFIG.url, logo: `${SITE_CONFIG.url}/images/logo.png`, foundingDate: SITE_CONFIG.foundedYear.toString(), description: SITE_CONFIG.description, email: SITE_CONFIG.email, telephone: SITE_CONFIG.phone, address: { '@type': 'PostalAddress', streetAddress: SITE_CONFIG.address.street, addressLocality: SITE_CONFIG.address.city, addressRegion: SITE_CONFIG.address.state, postalCode: SITE_CONFIG.address.zip, addressCountry: SITE_CONFIG.address.country, }, sameAs: [ SITE_CONFIG.social.linkedin, SITE_CONFIG.social.github, ], contactPoint: [ { '@type': 'ContactPoint', telephone: SITE_CONFIG.phone, contactType: 'Customer Service', email: SITE_CONFIG.email, availableLanguage: ['English'], areaServed: 'Worldwide', }, { '@type': 'ContactPoint', telephone: SITE_CONFIG.phone, contactType: 'Sales', email: `sales@${SITE_CONFIG.email.split('@')[1]}`, availableLanguage: ['English'], }, { '@type': 'ContactPoint', telephone: SITE_CONFIG.phone, contactType: 'Technical Support', email: `support@${SITE_CONFIG.email.split('@')[1]}`, availableLanguage: ['English'], areaServed: 'Worldwide', }, ], }; return (