import React from 'react';

export const JsonLd = () => {
  const businessSchema = {
    "@context": "https://schema.org",
    "@type": "LocalBusiness",
    "name": "Aydoğan Nakliyat Vinç",
    "image": "https://aydogannakliyatvinc.com/logo.png", // Varsa gerçek logo URL'si
    "@id": "https://aydogannakliyatvinc.com",
    "url": "https://aydogannakliyatvinc.com",
    "telephone": "+902526920000",
    "address": {
      "@type": "PostalAddress",
      "streetAddress": "Merkez Mah. Sanayi Sitesi No: 42",
      "addressLocality": "Dalaman",
      "addressRegion": "Muğla",
      "postalCode": "48770",
      "addressCountry": "TR"
    },
    "geo": {
      "@type": "GeoCoordinates",
      "latitude": 36.7644,
      "longitude": 28.8028
    },
    "openingHoursSpecification": {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": [
        "Monday",
        "Tuesday",
        "Wednesday",
        "Thursday",
        "Friday",
        "Saturday",
        "Sunday"
      ],
      "opens": "00:00",
      "closes": "23:59"
    },
    "sameAs": [
      "https://www.facebook.com/aydogannakliyatvinc", // Örnek sosyal medya linkleri
      "https://www.instagram.com/aydogannakliyatvinc"
    ],
    "areaServed": [
      {
        "@type": "City",
        "name": "Dalaman"
      },
      {
        "@type": "City",
        "name": "Muğla"
      },
      {
        "@type": "State",
        "name": "Ege Bölgesi"
      },
      {
        "@type": "Country",
        "name": "Türkiye"
      }
    ]
  };

  return (
    <script
      type="application/ld+json"
      dangerouslySetInnerHTML={{ __html: JSON.stringify(businessSchema) }}
    />
  );
};
