summaryrefslogtreecommitdiffstats
path: root/frontend/src/Register.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/Register.js')
-rw-r--r--frontend/src/Register.js18
1 files changed, 10 insertions, 8 deletions
diff --git a/frontend/src/Register.js b/frontend/src/Register.js
index f4a6ec3..6ba1537 100644
--- a/frontend/src/Register.js
+++ b/frontend/src/Register.js
@@ -32,17 +32,19 @@ const Register = () => {
return (
<form onSubmit={handleSubmit(onSubmit)}>
- <h1>Register new account</h1>
- <label>
- Username <input name="username" type="text" ref={register} required />
+ <h1 className="title">Register new account</h1>
+ <label className="label">
+ Username <input className="input" name="username" type="text" ref={register} required />
</label>
- <label>
- Password <input name="password" type="password" ref={register} required />
+ <label className="label">
+ Password <input className="input" name="password" type="password" ref={register} required />
</label>
- <label>
- Confirm password <input name="confirm_password" type="password" ref={register} required />
+ <label className="label">
+ Confirm password <input className="input" name="confirm_password" type="password" ref={register} required />
</label>
- <button type="submit">Register</button>
+ <button className="button" type="submit">
+ Register
+ </button>
<div className="error">{loginError}</div>
{/* <div className="error">{errors}</div> */}
</form>