style: redesign hero section and auth split layout

This commit is contained in:
zetaloop
2026-02-20 21:26:52 +08:00
parent c49ba63d1f
commit b0e2728aa9
4 changed files with 62 additions and 25 deletions
+9 -4
View File
@@ -42,10 +42,15 @@ export default function RegisterPage() {
}
return (
<div className="space-y-6">
<div className="flex flex-col items-center gap-2">
<Gamepad2 className="h-8 w-8" />
<h1 className="text-2xl font-bold"></h1>
<div className="space-y-8 bg-background p-8 rounded-xl border shadow-sm md:border-0 md:shadow-none md:p-0">
<div className="flex flex-col gap-2">
<div className="flex items-center gap-2 md:hidden mb-4">
<div className="rounded-lg bg-primary/10 p-2">
<Gamepad2 className="h-6 w-6 text-primary" />
</div>
<span className="text-xl font-bold"></span>
</div>
<h1 className="text-2xl font-bold tracking-tight"></h1>
<p className="text-sm text-muted-foreground"></p>
</div>
<form onSubmit={handleSubmit(onSubmit)} className="space-y-4">