supermemory icon indicating copy to clipboard operation
supermemory copied to clipboard

remove the default next auth sign in page with a custom one (default one's ugly)

Open anonthedev opened this issue 2 months ago • 2 comments

<button
          onClick={() => {
            signIn("google");
          }}
          className="flex flex-row gap-4 items-center justify-center px-8 py-4 rounded-md text-black font-semibold font-raleway bg-white"
        >
          <Image src={"https://upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Google_%22G%22_logo.svg/768px-Google_%22G%22_logo.svg.png"} alt="" width={30} height={30} />
          Sign in with Google
        </button>

this button should be ok ig I've just picked it from one of my projects, I've changed the image src to some random google logo I found online.

anonthedev avatar Apr 15 '24 04:04 anonthedev

Thanks anon! Yes, will implement it

should be fairly easy to make a custom /signin page with a two column view - one column has this (instead of four features in a row, we can do 2x2 grid) and the other has "Sign in with google" button

Dhravya avatar Apr 15 '24 04:04 Dhravya

yup, just be careful with the button as google has it's own guidelines so make sure to follow them

anonthedev avatar Apr 15 '24 12:04 anonthedev