"use client";

import React, { useEffect } from "react";
import Header2 from "@/components/layout/Header2";
import Footer2 from "@/components/layout/Footer2";

import BannerSection from "@/components/home/home-3/BannerSection";
import FeaturesSection from "@/components/home/home-2/FeaturesSection";
import About2Section from "@/components/home/home-2/About2Section";
import ServiceTabSection from "@/components/home/home-2/ServiceTabSection";
import WorkProcessSection from "@/components/home/home-2/WorkProcessSection";
import TextSliderSection from "@/components/home/home-2/TextSliderSection";
import ProjectSlider2Section from "@/components/home/home-2/ProjectSlider2Section";
import TestimonialsSection from "@/components/home/home-1/TestimonialsSection";
import IconCounterSection from "@/components/home/home-2/IconCounterSection";
import HelpFormSection from "@/components/home/home-2/HelpFormSection";
import Blog2Section from "@/components/home/home-2/Blog2Section";
import BrandSection from "@/components/home/home-1/BrandSection";
import ChooseSection from "@/components/home/home-1/ChooseSection";
import FaqSection from "@/components/home/home-3/FaqSection";
import Header1 from "@/components/layout/Header1";
import Footer1 from "@/components/layout/Footer1";

export default function Home2() {
    useEffect(() => {
        const init = () => {
            if (typeof window !== "undefined" && (window as any).initMetatron && (window as any).jQuery) {
                (window as any).initMetatron();
            } else {
                setTimeout(init, 100);
            }
        };
        init();
    }, []);

    return (
        <>
            <Header1 />
            <main>
                <BannerSection />
                {/* <FeaturesSection /> */}
                <About2Section />
                <IconCounterSection />
                <ServiceTabSection />
                {/* <TextSliderSection /> */}
                <WorkProcessSection />
                <TestimonialsSection />
                <BrandSection />

                <FaqSection />


                {/* <ServiceTabSection /> */}

                {/* <ProjectSlider2Section /> */}
                {/* <TestimonialsSection /> */}
                {/* <IconCounterSection /> */}
                <HelpFormSection />
                {/* <Blog2Section /> */}
            </main>
            <Footer1 />
        </>
    );
}
