import { Metadata } from 'next';
import React from 'react'
import LandingHero from './components/LandingHero';
import LandingOverview from './components/LandingOverview';

import LandingMap from './components/LandingMap';
import LandingIntegration from './components/LandingIntegration';
import LandingIntegration2 from './components/LandingIntegration2';
import LandingStats from './components/LandingStats';
import LandingDiscoverFeatures from './components/LandingDiscoverFeatures';
import LandingTestomonials from './components/LandingTestomonials';
import LandingCTA from './components/LandingCTA';
import { SectionsLayout } from '@/components/ui/layouts';
import { getTranslations } from 'next-intl/server';
import { getLandingMeta } from '@/components/metaData/landingMeta';
import LandingFeatures2 from './components/LandingFeatures2';
import LandingFeatures from './components/LandingFeatures';
import LandingValues from './components/LandingValues';
import LandingPresentation from './components/LandingPresentation';
import LandingAward from './components/LandingAward';
import { EmailCTASection } from '@/components/sections';
import LandingDadycarAi from './components/LandingDadycarAi';
import LandingFaq from './components/LandingFaq';

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

const LandingPage = () => {
    return (
        <main className=''>
            <LandingHero />
            <SectionsLayout>
                <LandingOverview />
                <LandingPresentation />
                <LandingValues />
                <LandingFeatures />
                <LandingFeatures2 />
                <LandingMap />
                <LandingIntegration />
                <LandingIntegration2 />
                <LandingDadycarAi/>
                <LandingAward/>
                <LandingStats />
                <LandingDiscoverFeatures />
                <LandingTestomonials />
                <EmailCTASection/>
                <LandingFaq/>
                <LandingCTA />
            </SectionsLayout>
        </main>
    )
}

export default LandingPage