'use client';

import AboutSection from '@/routes/public/homepage/sections/AboutSection';
import ContactsSection from '@/routes/public/homepage/sections/ContactsSection';
import FaqSection from '@/routes/public/homepage/sections/FaqSection';
import HeroSection from '@/routes/public/homepage/sections/HeroSection';
import InfoSection from '@/routes/public/homepage/sections/InfoSection';
import NewsSection from '@/routes/public/homepage/sections/NewsSection';
import OurServices from '@/routes/public/homepage/sections/OurServices';
import PartnersSection from '@/routes/public/homepage/sections/PartnersSection';
import PricingSection from '@/routes/public/homepage/sections/PricingSection';
import React, { useEffect } from 'react';
import AOS from 'aos';

type Props = {};

const Homepage = (props: Props) => {
    useEffect(() => {
        AOS.init({
            once: true,
            duration: 650,
        });
    }, []);

    return (
        <>
            <HeroSection />
            <AboutSection />
            <OurServices />
            <InfoSection />
            <PricingSection />
            <PartnersSection />
            <NewsSection />
            <ContactsSection />
            <FaqSection />
        </>
    );
};

export default Homepage;
