"use client";
import InstallPrompt from "@/components/install-promp";
import BannerHumasNew from "@/components/landing/banner-new";
import BodyLayout from "@/components/landing/BodyLayout";
import AnalyticDrawer from "@/components/landing/drawer";
import FooterNew from "@/components/landing/footer-new";
import HeaderNews from "@/components/landing/HeaderNews";
import NewsTicker from "@/components/landing/NewsTicker";
import dynamic from "next/dynamic";
import { Suspense } from "react";

const TawktoEmbed = dynamic(
  () => {
    return import("@/components/ui/tawkto/tawkto");
  },
  { ssr: true }
);

export default function Home() {
  return (
    <>
      {/* <TawktoEmbed /> */}
      <section className="flex flex-col">
        {/* <InstallPrompt /> */}
        <NewsTicker />
        <AnalyticDrawer />
        <BannerHumasNew />
        <HeaderNews />
        <BodyLayout />
        <Suspense>
          <FooterNew margin={true} />
        </Suspense>
      </section>
    </>
  );
}
