Skip to content

Commit

Permalink
essential classnames added
Browse files Browse the repository at this point in the history
  • Loading branch information
ankurhalder committed Nov 12, 2023
1 parent f7d5ed4 commit 0a2c2e1
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,43 @@ function Login() {
console.log("Username:", username);
console.log("Password:", password);
};

return (
<Fragment>
<LandingLayout>
<div>
<div className="login-container">
<h2>Login</h2>
<form onSubmit={handleSubmit}>
<label>
<form className="login-form" onSubmit={handleSubmit}>
<label className="form-label">
Username:
<input
type="text"
placeholder="Enter your username"
value={username}
onChange={(e) => setUsername(e.target.value)}
className="form-input"
/>
</label>
<br />
<label>
<label className="form-label">
Password:
<input
type="password"
placeholder="Enter your password"
value={password}
onChange={(e) => setPassword(e.target.value)}
className="form-input"
/>
</label>
<br />
<button type="submit">Login</button>
<button type="submit" className="login-button">
Login
</button>
</form>
</div>
</LandingLayout>
</Fragment>
);
}

export default Login;

0 comments on commit 0a2c2e1

Please sign in to comment.