import { Metadata } from 'next';
import React from 'react'

import { SectionsLayout } from '@/components/ui/layouts';
import { getTranslations } from 'next-intl/server';
import { getConstructionMeta } from '@/components/metaData';
import ConstructionHero from './components/ConstructionHero';
import ConstructionPartners from './components/ConstructionPartners';
import ConstructionTopFeatures from './components/ConstructionTopFeatures';
import ConstructionChallenges from './components/ConstructionChallenges';
import ConstructionIntegration2 from './components/ConstructionIntegration2';
import ConstructionWhyUs from './components/ConstructionWhyUs';
import ConstructionStats from './components/ConstructionStats';
import ConstructionTestomonials from './components/ConstructionTestomonials';
import ConstructionDiscoverFeatures from './components/ConstructionDiscoverFeatures';
import ConstructionCTA from './components/ConstructionCTA';


export const generateMetadata = async (): Promise<Metadata> => {
    const t = await getTranslations(''); 
    return await getConstructionMeta(t);
};
const ConstructionPage = () => {
    return (
        <main className=''>
            <ConstructionHero/>
            <SectionsLayout>
                <ConstructionPartners/>
                <ConstructionTopFeatures/>
                <ConstructionChallenges/>
                <ConstructionIntegration2/>
                <ConstructionWhyUs/>
                <ConstructionStats />
                <ConstructionTestomonials />
                <ConstructionDiscoverFeatures />
                <ConstructionCTA />
            </SectionsLayout>
        </main>
    )
}

export default ConstructionPage