Update src/auth/Register.tsx
Browse files- src/auth/Register.tsx +3 -17
src/auth/Register.tsx
CHANGED
|
@@ -16,23 +16,9 @@ export default function Register() {
|
|
| 16 |
<div className="min-h-screen flex items-center justify-center">
|
| 17 |
<div className="bg-zinc-900 p-6 rounded-xl w-80 space-y-4">
|
| 18 |
<h1 className="text-xl font-bold">Register</h1>
|
| 19 |
-
|
| 20 |
-
<input
|
| 21 |
-
|
| 22 |
-
placeholder="Email"
|
| 23 |
-
onChange={(e) => setEmail(e.target.value)}
|
| 24 |
-
/>
|
| 25 |
-
<input
|
| 26 |
-
type="password"
|
| 27 |
-
className="w-full p-2 rounded bg-zinc-800"
|
| 28 |
-
placeholder="Password"
|
| 29 |
-
onChange={(e) => setPassword(e.target.value)}
|
| 30 |
-
/>
|
| 31 |
-
|
| 32 |
-
<button
|
| 33 |
-
onClick={submit}
|
| 34 |
-
className="w-full bg-green-600 p-2 rounded hover:bg-green-500"
|
| 35 |
-
>
|
| 36 |
Create account
|
| 37 |
</button>
|
| 38 |
</div>
|
|
|
|
| 16 |
<div className="min-h-screen flex items-center justify-center">
|
| 17 |
<div className="bg-zinc-900 p-6 rounded-xl w-80 space-y-4">
|
| 18 |
<h1 className="text-xl font-bold">Register</h1>
|
| 19 |
+
<input className="w-full p-2 rounded bg-zinc-800" placeholder="Email" onChange={e=>setEmail(e.target.value)} />
|
| 20 |
+
<input type="password" className="w-full p-2 rounded bg-zinc-800" placeholder="Password" onChange={e=>setPassword(e.target.value)} />
|
| 21 |
+
<button onClick={submit} className="btn w-full bg-green-600 hover:bg-green-500">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
Create account
|
| 23 |
</button>
|
| 24 |
</div>
|