import Alert from "@components/Alert/Alert";
import Confirm from "@components/Confirm/Confirm";
import Header from "@components/Header/Header";
import UserMenu from "@components/UserMenu/UserMenu";
import Footer from "@components/Home/Footer/Footer";
import Loading from "@components/Loading/Loading";
import TextObjectModal from "../components/TextObjectFilter/TextObjectModal";
import MessengerIcon from "../components/MessengerIcon/MessengerIcon";
import CheckUserPhone from "../components/CheckUserPhone/CheckUserPhone";
import CheckPendingInvitations from "../components/CheckPendingInvitations/CheckPendingInvitations";

export default function LandingLayout({
    children,
}: Readonly<{
    children: React.ReactNode;
}>) {
    return (
        <div>
            <Header />
            <div className="mainSectionWhite">{children}</div>
            <Footer />
            <UserMenu />
            <MessengerIcon />
            <Alert />
            <Confirm />
            <Loading />
            <TextObjectModal />
            <CheckUserPhone />
            <CheckPendingInvitations />
        </div>
    );
}
