import Header from '@/components/Header';
import Hero from '@/components/Hero';
import Identity from '@/components/Identity';
import Process from '@/components/Process';
import Advantages from '@/components/Advantages';
import Contact from '@/components/Contact';
import Footer from '@/components/Footer';

export default function Home() {
  const structuredData = {
    '@context': 'https://schema.org',
    '@type': 'RealEstateAgent',
    name: 'Loc\'Pro & Co',
    description: 'Spécialiste de la sous-location immobilière en Centre-Val de Loire',
    url: 'https://locpro.fr',
    logo: 'https://locpro.fr/logo.png',
    image: 'https://locpro.fr/og-image.jpg',
    telephone: '+33-X-XX-XX-XX-XX',
    email: 'contact@locpro.fr',
    address: {
      '@type': 'PostalAddress',
      addressRegion: 'Centre-Val de Loire',
      addressLocality: 'Orléans, Blois',
      addressCountry: 'FR',
    },
    areaServed: [
      {
        '@type': 'City',
        name: 'Orléans',
      },
      {
        '@type': 'City',
        name: 'Blois',
      },
      {
        '@type': 'AdministrativeArea',
        name: 'Centre-Val de Loire',
      },
    ],
    priceRange: '$$',
    openingHours: 'Mo-Fr 09:00-18:00',
    sameAs: [],
  };

  return (
    <>
      <script
        type="application/ld+json"
        dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}
      />
      <main className="min-h-screen">
        <Header />
        <div id="hero">
          <Hero />
        </div>
        <Identity />
        <Process />
        <Advantages />
        <Contact />
        <Footer />
      </main>
    </>
  );
}
