@@ -73,15 +73,23 @@ const Signup = () => {
7373 } ;
7474
7575 return (
76- < section className = "flex min-h-svh flex-col items-center justify-center p-6 md:p-10" >
77- < div className = "w-full max-w-sm md:max-w-md flex flex-col gap-6" >
78- < Card className = "overflow-hidden p-0" >
76+ < section className = "relative overflow-hidden bg-zinc-50 dark:bg-neutral-900/80 flex min-h-svh flex-col items-center justify-center p-6 md:p-10" >
77+ < div className = "hidden sm:block absolute top-10 left-10 h-16 w-16 border-t-2 border-l-2 border-emerald-400 dark:border-violet-500 opacity-60 rounded-tl-lg" />
78+ < div className = "hidden sm:block absolute bottom-10 right-10 h-20 w-20 border-b-2 border-r-2 border-emerald-400 dark:border-violet-500 opacity-60 rounded-br-lg" />
79+
80+ < div className = "absolute top-1/3 -left-6 w-24 h-24 border border-emerald-300 dark:border-violet-400/40 rounded-full opacity-30" />
81+ < div className = "absolute bottom-1/4 -right-8 w-20 h-20 border border-emerald-300 dark:border-violet-400/40 rotate-12 opacity-30" />
82+
83+ < div className = "w-full max-w-sm md:max-w-md flex flex-col gap-6 relative z-10" >
84+ < Card className = "overflow-hidden p-0 border-emerald-200/50 dark:border-violet-500/30 shadow-lg" >
7985 < CardContent >
8086 < form className = "px-2 py-6" onSubmit = { handleSignup } >
8187 < FieldGroup >
8288 < div className = "flex flex-col items-center gap-2 text-center" >
83- < h1 className = "text-2xl font-bold" > Create your account</ h1 >
84- < p className = "text-muted-foreground text-sm text-balance" >
89+ < h1 className = "text-2xl font-bold text-slate-900 dark:text-neutral-100" >
90+ Create your account
91+ </ h1 >
92+ < p className = "text-slate-600 dark:text-neutral-400 text-sm text-balance" >
8593 Enter your email below to create your account
8694 </ p >
8795 </ div >
@@ -127,7 +135,11 @@ const Signup = () => {
127135 </ Field >
128136 { error && < p className = "text-sm text-red-500" > { error } </ p > }
129137 < Field >
130- < Button type = "submit" disabled = { isLoading } >
138+ < Button
139+ type = "submit"
140+ disabled = { isLoading }
141+ className = "w-full bg-emerald-600 text-white hover:bg-emerald-700 dark:bg-violet-600 dark:hover:bg-violet-700 transition-colors"
142+ >
131143 { isLoading ? "Creating Account..." : "Create Account" }
132144 </ Button >
133145 </ Field >
@@ -139,6 +151,7 @@ const Signup = () => {
139151 variant = "outline"
140152 type = "button"
141153 onClick = { ( ) => handleOAuthLogin ( "github" ) }
154+ className = "border-emerald-200 text-slate-700 hover:bg-emerald-50 hover:border-emerald-300 dark:border-violet-400/40 dark:text-neutral-300 dark:hover:bg-violet-500/10 dark:hover:border-violet-400"
142155 >
143156 < Image
144157 width = "24"
@@ -152,6 +165,7 @@ const Signup = () => {
152165 variant = "outline"
153166 type = "button"
154167 onClick = { ( ) => handleOAuthLogin ( "google" ) }
168+ className = "border-emerald-200 text-slate-700 hover:bg-emerald-50 hover:border-emerald-300 dark:border-violet-400/40 dark:text-neutral-300 dark:hover:bg-violet-500/10 dark:hover:border-violet-400"
155169 >
156170 < GoogleIcon className = "size-8" />
157171 < span className = "sr-only" > Sign up with Google</ span >
0 commit comments