This commit is contained in:
Timur Ercan
2023-01-11 15:22:09 +01:00
parent 4ad760fcbe
commit 7b68bfbb2a
3 changed files with 20 additions and 10 deletions

View File

@ -54,15 +54,6 @@ export default function Login() {
<h2 className="mt-6 text-center text-3xl font-bold tracking-tight text-gray-900">
Sign in to your account
</h2>
<p className="mt-2 text-center text-sm text-gray-600">
Or{" "}
<Link
href="/signup"
className="font-medium text-neon hover:text-neon"
>
create a new Account
</Link>
</p>
</div>
<FormProvider {...methods}>
<form
@ -126,6 +117,15 @@ export default function Login() {
Sign in
</button>
</div>
<p className="mt-2 text-center text-sm text-gray-600">
Are you new here?{" "}
<Link
href="/signup"
className="font-medium text-neon hover:text-neon"
>
Create a new Account
</Link>
</p>
</form>
</FormProvider>
</div>

View File

@ -1,4 +1,5 @@
import { signIn } from "next-auth/react";
import Link from "next/link";
import { FormProvider, SubmitHandler, useForm } from "react-hook-form";
import Logo from "./logo";
@ -123,6 +124,15 @@ export default function Signup() {
Create Account
</button>
</div>
<p className="mt-2 text-center text-sm text-gray-600">
Already have an account?{" "}
<Link
href="/login"
className="font-medium text-neon hover:text-neon"
>
Sign In
</Link>
</p>
</form>
</FormProvider>
</div>

View File

@ -5,7 +5,7 @@ export default function SignupPage() {
return (
<>
<Head>
<title>Login | Documenso</title>
<title>Signup | Documenso</title>
</Head>
<Signup></Signup>
</>