🌿

PR Browser

acme-corp/webapp

Add user authentication system

johndoe
ready2 hours ago
acme-corp/webapp

Fix mobile responsive layout issues

janesmith
draft4 hours ago
acme-corp/webapp

Implement dark mode toggle

mikewilson
conflicts1 day ago

Add user authentication system

↗ Open Preview
U
https://auth-preview.vercel.app

Changed Files

login.js
+45, -12
register.js
+67, -0
Header.js
+8, -3
package.json
+3, -0

Diff View

@@ -1,8 +1,12 @@
+const LoginForm = () => {
+ const [email, setEmail] = useState('');
+ const [password, setPassword] = useState('');
+
return (
<form className="login-form">
- <input type="email" placeholder="Email" />
- <input type="password" placeholder="Password" />
+ <input type="email" value={email} onChange={(e) => setEmail(e.target.value)} placeholder="Email" />
+ <input type="password" value={password} onChange={(e) => setPassword(e.target.value)} placeholder="Password" />
<button type="submit">Login</button>
</form>
);

Review Actions