changes and improvements

This commit is contained in:
Daniel
2023-07-13 18:19:49 -04:00
parent 7be3b37b21
commit 0912614e41
15 changed files with 96 additions and 109 deletions
+10 -9
View File
@@ -73,11 +73,20 @@ export default function Login() {
<input
type="password"
placeholder="*****************"
placeholder="***********"
value={form.password}
onChange={(e) => setForm({ ...form, password: e.target.value })}
className="w-full rounded-md p-3 mx-auto border-sky-100 border-solid border outline-none focus:border-sky-500 duration-100"
/>
{EmailProvider && (
<Link
href={"/forgot"}
className="w-fit ml-auto text-gray-500 font-semibold"
>
Forgot Password?
</Link>
)}
<SubmitButton
onClick={loginUser}
label="Login"
@@ -91,14 +100,6 @@ export default function Login() {
Sign Up
</Link>
</div>
{EmailProvider && (
<div className="flex items-baseline gap-1 justify-center mb-3">
<p className="w-fit text-gray-500">Forgot your password?</p>
<Link href={"/forgot"} className="block text-sky-500 font-bold">
Send login link
</Link>
</div>
)}
</>
);
}