Update page.tsx

This commit is contained in:
Damien Ostler 2024-05-27 23:24:59 -04:00
parent fe09172881
commit e82305954e

View File

@ -66,11 +66,11 @@ export default async function Login({
<div className="flex-1 w-full flex flex-col gap-20 items-center animate-in"> <div className="flex-1 flex flex-col w-full px-8 sm:max-w-md justify-center gap-2">
<form className="animate-in flex-1 flex flex-col w-full my-32 gap-2 text-foreground">
<form className="animate-in flex-1 flex flex-col w-full my-32 gap-2 text-white">
<Link
href="/"
className="absolute left-1 top-44 py-2 px-4 rounded-md no-underline text-foreground flex items-center group text-sm"
className="absolute left-1 top-44 py-2 px-4 rounded-md no-underline text-white flex items-center group text-sm"
>
<svg
xmlns="http://www.w3.org/2000/svg"
@ -104,21 +104,21 @@ export default async function Login({
<div className="flex text-white white">
<SubmitButton
formAction={signIn}
className="bg-neroshi-blue-500 hover:bg-neroshi-blue-400 rounded-md px-4 py-2 text-foreground mb-2 mx-1 w-1/2"
className="bg-neroshi-blue-500 hover:bg-neroshi-blue-400 rounded-md px-4 py-2 text-white mb-2 mx-1 w-1/2"
pendingText="Signing In..."
>
Sign In
</SubmitButton>
<SubmitButton
formAction={signUp}
className="bg-neroshi-blue-300 hover:bg-neroshi-blue-200 border border-foreground/20 rounded-md px-4 py-2 text-foreground mb-2 mx-1 w-1/2"
className="bg-neroshi-blue-300 hover:bg-neroshi-blue-200 border border-foreground/20 rounded-md px-4 py-2 text-white mb-2 mx-1 w-1/2"
pendingText="Signing Up..."
>
Sign Up
</SubmitButton>
</div>
{searchParams?.message && (
<p className="mt-4 bg-foreground/10 mt-14 p-2 text-foreground text-center">
<p className="mt-4 bg-foreground/10 mt-14 p-2 text-white text-center">
{searchParams.message}
</p>
)}