import { Metadata } from 'next';
import React from 'react'
import GeolocalisationHero from './components/GeolocalisationHero';
import GeolocalisationVisibility from './components/GeolocalisationVisibility';
import GeoLocalisationTracking from './components/GeoLocalisationTracking';
import GeolocalisationAutomobile from './components/GeolocalisationAutomobile';
import GeolocalisationTrajet1 from './components/GeolocalisationTrajet1';
import GeolocalisationStats from './components/GeolocalisationStats';
import GeolocalisationTestomonials from './components/GeolocalisationTestomonials';
import GeolocalisationCTA from './components/GeolocalisationCTA';
import Geolocalisation2 from './components/Geolocalisation2';
import { SectionsLayout } from '@/components/ui/layouts';
import { getTranslations } from 'next-intl/server';
import { getSolutionsGeolocalisationMeta } from '@/components/metaData/solutions/solutionsGeolocalisation';
import GeolocalisationFaq from './components/GeolocalisationFaq';
import GeolocalisationPresentation2 from './components/GeolocalisationPresentation2';
import GeolocalisationPresentation3 from './components/GeolocalisationPresentation3';
import GeolocalisationPresentation4 from './components/GeolocalisationPresentation4';
import GeolocalisationPresentation5 from './components/GeolocalisationPresentation5';
import GeolocalisationPresentation6 from './components/GeolocalisationPresentation6';
import GeolocalisationDiscoverFeatures from './components/GeolocalisationDiscoverFeatures';

export const generateMetadata = async (): Promise<Metadata> => {
    const t = await getTranslations(''); 
    return await getSolutionsGeolocalisationMeta(t);
};

const SolutionsGeolocalisation = () => {
  return (
    <main>
      <GeolocalisationHero />
      <SectionsLayout>
        <GeolocalisationVisibility />
        <GeolocalisationPresentation2 />
        <GeolocalisationAutomobile />
        <GeolocalisationTrajet1 />
        <GeolocalisationPresentation3/>
        <GeolocalisationPresentation4/>
        <GeoLocalisationTracking />
        <Geolocalisation2/>
        <GeolocalisationStats />
        {/* <GeolocalisationMobileCTA /> */}
        <GeolocalisationTestomonials />

        <GeolocalisationPresentation5/>
        <GeolocalisationPresentation6/>
        <GeolocalisationDiscoverFeatures/>
        <GeolocalisationCTA />
        <GeolocalisationFaq/>
      </SectionsLayout>
    </main>
  )
}

export default SolutionsGeolocalisation