Merge branch 'feat/extra-login-providers' into feature/login-refactor

This commit is contained in:
Daniel
2023-12-07 21:05:02 +03:30
committed by GitHub
23 changed files with 102 additions and 42 deletions
+6 -5
View File
@@ -5,6 +5,7 @@ import { signIn } from "next-auth/react";
import { useRouter } from "next/router";
import CenteredForm from "@/layouts/CenteredForm";
import TextInput from "@/components/TextInput";
import AccentSubmitButton from "@/components/AccentSubmitButton";
const emailEnabled = process.env.NEXT_PUBLIC_EMAIL_PROVIDER === "true";
@@ -219,12 +220,12 @@ export default function Register() {
</div>
) : undefined}
<button
<AccentSubmitButton
type="submit"
className={`border primary-btn-gradient select-none duration-100 bg-black border-[#0071B7] hover:border-[#059bf8] rounded-lg text-center px-4 py-2 text-slate-200 hover:text-white `}
>
<p className="text-center w-full font-bold">Sign Up</p>
</button>
label="Sign Up"
className="w-full"
loading={submitLoader}
/>
<div className="flex items-baseline gap-1 justify-center">
<p className="w-fit text-neutral">Already have an account?</p>
<Link href={"/login"} className="block font-bold">