Skip to content

Commit 79d0457

Browse files
committed
update style
1 parent d54099e commit 79d0457

File tree

6 files changed

+88
-210
lines changed

6 files changed

+88
-210
lines changed

package-lock.json

Lines changed: 72 additions & 206 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/pages/Login.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ export const Login = () => {
8989
<label htmlFor="password">Password</label>
9090
<input type="password" placeholder="Password" id="password"
9191
value={password} onChange={(e) => handleInputChange(e)} data-testid="login-password" />
92-
<input type="checkbox" id="keepLoggedIn"
92+
<input className= "checkbox" type="checkbox" id="keepLoggedIn"
9393
value={keepLoggedIn} onChange={handleKeepLoggedInChange} />
94-
<label htmlFor="keepLoggedIn">Keep me logged in</label>
94+
<label className="login" htmlFor="keepLoggedIn">Keep me logged in</label>
9595
<button onClick={() => AuthenticateUser()} type="submit" id="loginButton" data-testid="login-submit">Log In</button>
9696
<a href="/signup" className="login" data-testid="link">Want to create a new account?</a>
9797
</div>

src/pages/Signup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export const Signup = () => {
142142
<input type="password" placeholder="Password" id="password"
143143
value={password} onChange={(e) => handleInputChange(e)} data-testid="signup-password"/>
144144
<label htmlFor="confirmPassword">Confirm Password</label>
145-
<input type="password" placeholder="Confirm Password" id="confirmPassword"
145+
<input className="signup" type="password" placeholder="Confirm Password" id="confirmPassword"
146146
value={confirmPassword} onChange={(e) => handleInputChange(e)} data-testid="signup-confirmpass"/>
147147
<button onClick={() => RegisterUser()} type="submit" id="signupButton" data-testid="signup-submit">Sign Up</button>
148148
<a href="/login" className="signup" data-testid="link">Already have an account?</a>

src/styles/Hero.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
.words {
2323
padding-top: 0.5rem;
24-
font-size: 10rem;
24+
font-size: 8rem;
2525
padding-left: 70px;
2626
}
2727

src/styles/Login.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,12 @@ button {
3939

4040
a.login {
4141
color: black;
42+
}
43+
44+
.checkbox{
45+
margin-top: 10px;
46+
}
47+
48+
.login{
49+
margin-bottom: 10px;
4250
}

src/styles/Signup.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,8 @@ button {
3939

4040
a.signup {
4141
color: black;
42+
}
43+
44+
.signup{
45+
margin-bottom: 10px;
4246
}

0 commit comments

Comments
 (0)