34 lines
1.3 KiB
TypeScript
34 lines
1.3 KiB
TypeScript
'use client';
|
|
import IconMail from '@/components/icon/icon-mail';
|
|
import { useRouter } from 'next/navigation';
|
|
import React from 'react';
|
|
|
|
const ComponentsAuthResetPasswordForm = () => {
|
|
const router = useRouter();
|
|
|
|
const submitForm = (e: any) => {
|
|
e.preventDefault();
|
|
router.push('/');
|
|
};
|
|
return (
|
|
<form className="space-y-5" onSubmit={submitForm}>
|
|
<div>
|
|
<label htmlFor="Email" className="dark:text-white">
|
|
Email
|
|
</label>
|
|
<div className="relative text-white-dark">
|
|
<input id="Email" type="email" placeholder="Enter Email" className="form-input ps-10 placeholder:text-white-dark" />
|
|
<span className="absolute start-4 top-1/2 -translate-y-1/2">
|
|
<IconMail fill={true} />
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<button type="submit" className="btn w-full border-0 uppercase shadow-[0_10px_20px_-10px_rgba(67,97,238,0.44)] disabled:cursor-not-allowed disabled:opacity-70 !mt-6 bg-[linear-gradient(135deg,#1E3A8A_0%,#2563EB_50%,#00C6FF_100%)] text-white hover:bg-[linear-gradient(135deg,#00C6FF_0%,#2563EB_50%,#1E3A8A_100%)]">
|
|
RECOVER
|
|
</button>
|
|
</form>
|
|
);
|
|
};
|
|
|
|
export default ComponentsAuthResetPasswordForm;
|