import { type Locale } from '@/i18n/config'; interface JsonLdProps { locale: Locale; } export function PersonJsonLd({ locale }: JsonLdProps) { const baseUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://damjan-savic.com'; const schema = { '@context': 'https://schema.org', '@type': 'Person', '@id': `${baseUrl}/#person`, name: 'Damjan Savić', givenName: 'Damjan', familyName: 'Savić', jobTitle: locale === 'de' ? 'Fullstack Entwickler' : locale === 'sr' ? 'Fullstack Developer' : 'Fullstack Developer', description: locale === 'de' ? 'Fullstack Entwicklung für Websites, Apps und SaaS mit Next.js, React und TypeScript.' : locale === 'sr' ? 'Fullstack razvoj za web stranice, aplikacije i SaaS sa Next.js, React i TypeScript.' : 'Fullstack development for websites, apps and SaaS with Next.js, React and TypeScript.', url: baseUrl, image: `${baseUrl}/images/og-image.jpg`, email: 'info@damjan-savic.com', telephone: '+491756950979', address: { '@type': 'PostalAddress', addressLocality: locale === 'sr' ? 'Keln' : locale === 'en' ? 'Cologne' : 'Köln', addressRegion: 'NRW', addressCountry: 'DE', }, sameAs: [ 'https://www.linkedin.com/in/damjansavic/', 'https://github.com/damjansavic', ], knowsAbout: [ 'Artificial Intelligence', 'Machine Learning', 'Process Automation', 'Voice AI', 'Web Development', 'Python', 'TypeScript', 'React', 'Next.js', 'n8n', 'SaaS Development', ], alumniOf: [ { '@type': 'EducationalOrganization', name: 'FOM Hochschule für Ökonomie & Management', }, ], hasCredential: [ { '@type': 'EducationalOccupationalCredential', name: 'M.A. Software Development', credentialCategory: 'degree', }, { '@type': 'EducationalOccupationalCredential', name: 'B.Sc. Wirtschaftsinformatik', credentialCategory: 'degree', }, ], }; return (