import { Link, useForm } from "@inertiajs/react";
import LanguageSwitcher from "@admin/LanguageSwitcher";

export default function ConfirmSend(){
    return(
        <>
        <div className="wrapper vh-100">
        <div className="row align-items-center h-100">
            <form className="col-lg-3 col-md-4 col-10 mx-auto text-center">
            <div className="d-flex justify-content-end mb-3">
                <LanguageSwitcher />
            </div>
            <Link className="navbar-brand mx-auto mt-2 flex-fill text-center" href="#">
                <img src="/assets/user/images/matergo_website_logo.png" alt="Matergo Hotel" />
            </Link>
            <h2 className="my-3">Password Reset Link Sent</h2>
            <div className="alert alert-success" role="alert"> An email has been sent to your email. Please check your email to get reset link </div>
            <Link href="/admin/login" className="btn btn-lg btn-primary btn-block">Back to login</Link>
            
            <p className="mt-5 mb-3 text-muted">© {new Date().getFullYear()}</p>
            </form>
        </div>
        </div>
        </>
    );
}
