Skip to content

Commit

Permalink
๐Ÿ”จ #12 className ํ•˜์ดํ”ˆ์œผ๋กœ ๋ณ€๊ฒฝ
Browse files Browse the repository at this point in the history
  • Loading branch information
jizerozz committed Aug 26, 2024
1 parent 5382d94 commit 34a6094
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
10 changes: 5 additions & 5 deletions src/pages/EditPwPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ const EditPwPage = () => {
๊ฐ€์ž…ํ•˜์‹  ์ด๋ฉ”์ผ์„ ์ž…๋ ฅํ•˜์‹œ๋ฉด
<br /> ๋น„๋ฐ€๋ฒˆํ˜ธ ์žฌ์„ค์ • ๋งํฌ๋ฅผ ๋ณด๋‚ด๋“œ๋ฆฝ๋‹ˆ๋‹ค.
</h4>
<form className="form_editpw" onSubmit={handleResetPassword}>
<form className="form-editpw" onSubmit={handleResetPassword}>
<input
type="text"
className="input_editpw"
className="input-editpw"
placeholder="์ด๋ฉ”์ผ์„ ์ž…๋ ฅํ•˜์„ธ์š”."
value={email}
onChange={(e) => setEmail(e.target.value)}
Expand All @@ -41,7 +41,7 @@ const EditPwPage = () => {
๋น„๋ฐ€๋ฒˆํ˜ธ ์žฌ์„ค์ • ๋งํฌ ์ „์†ก์— ์‹คํŒจํ–ˆ์Šต๋‹ˆ๋‹ค. ๋‹ค์‹œ ์‹œ๋„ํ•ด์ฃผ์„ธ์š”.
</span>
))}
<button type="submit" className="btn_editpw" disabled={!isValid}>
<button type="submit" className="btn-editpw" disabled={!isValid}>
๋น„๋ฐ€๋ฒˆํ˜ธ ์žฌ์„ค์ • ๋งํฌ ๋ณด๋‚ด๊ธฐ
</button>
</form>
Expand All @@ -58,8 +58,8 @@ const Container = styled.div`
flex-direction: column;
gap: 10px;
}
.btn_editpw,
.input_editpw {
.btn-editpw,
.input-editpw {
padding: 10px;
}
.failed {
Expand Down
32 changes: 16 additions & 16 deletions src/pages/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,36 +32,36 @@ const LoginPage = () => {

return (
<Container>
<form className="form_login" onSubmit={handleEmailLogin}>
<form className="form-login" onSubmit={handleEmailLogin}>
<input
className="input_email"
className="input-email"
type="text"
placeholder="์ด๋ฉ”์ผ์„ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”."
value={email}
onChange={(e) => setEmail(e.target.value)}
/>
<input
className="input_pw"
className="input-pw"
type="password"
placeholder="๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”."
value={password}
onChange={(e) => setPassword(e.target.value)}
/>
{!loginSuccess && (
<span className="login_notice">์•„์ด๋”” ๋˜๋Š” ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”.</span>
<span className="login-notice">์•„์ด๋”” ๋˜๋Š” ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”.</span>
)}

<button className="btn_login" type="submit" disabled={!isValid}>
<button className="btn-login" type="submit" disabled={!isValid}>
๋กœ๊ทธ์ธ
</button>
</form>
<Link to={PATH.EDITPW} className="forgot_password">
<Link to={PATH.EDITPW} className="forgot-password">
๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ์žŠ์œผ์…จ๋‚˜์š”?
</Link>
<div className="grayline" />
<button className="btn_google" onClick={handleGoogleLogin}>
<button className="btn-google" onClick={handleGoogleLogin}>
<img
className="logo_google"
className="logo-google"
width="20"
height="20"
src="https://img.icons8.com/color/48/google-logo.png"
Expand All @@ -84,34 +84,34 @@ const Container = styled.div`
color: red;
font-size: 15px;
}
.forgot_password {
.forgot-password {
text-decoration: none;
margin: 15px 0px;
font-size: 15px;
text-align: center;
}
.form_login {
.form-login {
display: flex;
gap: 3px;
flex-direction: column;
}
.input_email,
.input_pw,
.btn_login {
.input-email,
.input-pw,
.btn-login {
padding: 10px;
}
.btn_login {
.btn-login {
margin-top: 3px;
}
.grayline {
background-color: gray;
margin-bottom: 10px;
height: 0.1px;
}
.logo_google {
.logo-google {
align-items: center;
}
.btn_google {
.btn-google {
padding: 10px;
vertical-align: center;
justify-content: center;
Expand Down

0 comments on commit 34a6094

Please sign in to comment.