import React from 'react';

export const JsonLd = () => {
  const businessSchema = {
    "@context": "https://schema.org",
    "@type": "LocalBusiness",
    "name": "Aydoğan Nakliyat Vinç",
    "image": "https://aydogannakliyatvinc.com/hero-bg.jpg", 
    "@id": "https://aydogannakliyatvinc.com",
    "url": "https://aydogannakliyatvinc.com",
    "telephone": "+905377200990",
    "address": {
      "@type": "PostalAddress",
      "streetAddress": "Sanayi Cd. 97",
      "addressLocality": "Dalaman",
      "addressRegion": "Muğla",
      "postalCode": "48770",
      "addressCountry": "TR"
    },
    "geo": {
      "@type": "GeoCoordinates",
      "latitude": 36.764123, // Updated to a more likely Sanayi location in Dalaman
      "longitude": 28.799876
    },
    "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) }}
    />
  );
};
