import LoginForm from "@/components/LoginForm/LoginForm";
import Logo from "@/components/Logo/Logo";
import PageItem from "@/components/PageBlock/PageItem";
import PageContainer from "@/components/PageContainer/PageContainer";

interface LoginPageProps {
    searchParams: { login_challenge?: string };
}

export default function LoginPage({ searchParams }: LoginPageProps) {
    return (
        <PageContainer center>
            <PageItem fullScreenMobile>
                <Logo title={"Вход"} />
                <LoginForm loginChallenge={searchParams.login_challenge} />
            </PageItem>
        </PageContainer>
    );
}
