import GuestLayout from '../Layouts/GuestLayout';
import InputError from '../Components/common/InputError';
import InputLabel from '../Components/common/InputLabel';
import PrimaryButton from '../Components/common/PrimaryButton';
import TextInput from '../Components/common/TextInput';

export default function ResetPassword({token, email}) {

    const submit = (e) => {
        e.preventDefault();
    };

    return (
        <GuestLayout>
            <h1 className={"text-2xl mb-12 text-black text-right my-3 font-[dana] font-black"}>بازنشانی رمز عبور</h1>

            <form onSubmit={submit}>
                <div className="mt-4">
                    <InputLabel
                        className={"justify-end font-normal font-[Vazirmatn] text-gray-400 mb-2 mr-2 "}
                        htmlFor="password"
                        value="رمز عبور"
                    />
                    <TextInput
                        id="password"
                        type="password"
                        name="password"
                        placeholder={'رمز عبور جدید را وارد کنید'}
                        // value={data.password}
                        className="mt-1 py-3 font-[Vazirmatn] text-gray-500 font-black tracking-[0.3rem] flex text-right w-full placeholder:text-xs placeholder-gray-400 placeholder:tracking-normal placeholder:font-normal"
                        autoComplete="new-password"
                        // onChange={(e) => setData('password', e.target.value)}
                    />
                    <InputError message={""} className="mt-2"/>
                </div>

                <div className="mt-4">
                    <InputLabel
                        className={"justify-end font-normal font-[Vazirmatn] text-gray-400 mb-2 mr-2 "}
                        htmlFor="password_confirmation"
                        value="رمز عبور جدید"
                    />

                    <TextInput
                        type="password"
                        name="password_confirmatio"
                        // value={data.password}
                        className="mt-1 py-3 font-[Vazirmatn] text-gray-500 font-black tracking-[0.3rem] flex text-right w-full"
                        autoComplete="new-password"
                        // onChange={(e) => setData('password', e.target.value)}
                    />

                    <InputError message={""} className="mt-2"/>
                </div>

                <div className="flex items-center justify-end mt-4">
                    <PrimaryButton className="ml-2 mt-5 mb-7 font-[Vazirmatn] w-full justify-center py-3 pb-4 font-[dana] text-md" disabled={false}>
                        ثبت
                    </PrimaryButton>
                </div>
            </form>
        </GuestLayout>
    );
}
