-
Notifications
You must be signed in to change notification settings - Fork 39
[김보경] sprint2 #156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The head ref may contain hidden characters: "Basic-\uAE40\uBCF4\uACBD-sprint2"
[김보경] sprint2 #156
Changes from all commits
97fd7a5
61b7e10
4921f9e
10c1f2f
dbbd2a9
c825363
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| .gray900 { | ||
| color: #111827; | ||
| } | ||
|
|
||
| .gray800 { | ||
| color: #1F2937; | ||
| } | ||
|
|
||
| .gray700 { | ||
| color: #374151; | ||
| } | ||
|
|
||
| .gray600 { | ||
| color: #4B5563; | ||
| } | ||
|
|
||
| .gray500 { | ||
| color: #6B7280; | ||
| } | ||
|
|
||
| .gray400 { | ||
| color: #9CA3AF; | ||
| } | ||
|
|
||
| .gray200 { | ||
| color: #E5E7EB; | ||
| } | ||
|
|
||
| .gray100 { | ||
| color: #F3F4F6; | ||
| } | ||
|
|
||
| .gray50 { | ||
| color: #F9FAFB; | ||
| } | ||
|
|
||
| .blue { | ||
| color: #3692FF; | ||
| } |
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ❗️ 수정요청 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,13 +24,14 @@ | |
| <link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard-dynamic-subset.css" /> | ||
| <link rel="stylesheet" href="style.css"> | ||
| <link rel="stylesheet" href="reset.css"> | ||
| <link rel="stylesheet" href="colors.css"> | ||
| </head> | ||
|
|
||
| <body> | ||
| <header id="header"> | ||
| <div class="wrap-header"> | ||
| <img src="./img/logo.png" alt="판다마켓 로고" /> | ||
| <a href="/login">로그인</a> | ||
| <a href="./login.html">로그인</a> | ||
| </div> | ||
| </header> | ||
| <main> | ||
|
|
@@ -41,7 +42,7 @@ <h2>일상의 모든 물건을<br />거래해 보세요</h2> | |
| <button>구경하러 가기</button> | ||
| </div> | ||
| <div class="img-home"> | ||
| <img src="./img/Img_home_top.png" /> | ||
| <img src="./img/img_home_top.png" /> | ||
| </div> | ||
| </div> | ||
| </section> | ||
|
|
@@ -50,7 +51,7 @@ <h2>일상의 모든 물건을<br />거래해 보세요</h2> | |
| <div class="box-about"> | ||
| <div class="card-about"> | ||
| <div class="img-about"> | ||
| <img src="./img/Img_home_01.png" /> | ||
| <img src="./img/img_home_01.png" /> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| </div> | ||
| <div class="txt-about"> | ||
| <span>Hot item</span> | ||
|
|
@@ -67,14 +68,14 @@ <h3>구매를 원하는<br />상품을 검색하세요</h3> | |
| <p>구매하고 싶은 물품은 검색해서<br />쉽게 찾아보세요</p> | ||
| </div> | ||
| <div class="img-about"> | ||
| <img src="./img/Img_home_02.png" /> | ||
| <img src="./img/img_home_02.png" /> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <div class="box-about"> | ||
| <div class="card-about"> | ||
| <div class="img-about"> | ||
| <img src="./img/Img_home_03.png" /> | ||
| <img src="./img/img_home_03.png" /> | ||
| </div> | ||
| <div class="txt-about"> | ||
| <span>Register</span> | ||
|
|
@@ -91,7 +92,7 @@ <h3>판매를 원하는<br />상품을 등록하세요</h3> | |
| <h4>믿을 수 있는<br />판다마켓 중고 거래</h4> | ||
| </div> | ||
| <div class="img-description"> | ||
| <img src="./img/Img_home_bottom.png" /> | ||
| <img src="./img/img_home_bottom.png" /> | ||
| </div> | ||
| </div> | ||
| </section> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="ko"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
| <title>판다마켓 로그인 페이지</title> | ||
|
|
||
| <link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard-dynamic-subset.css" /> | ||
| <link rel="stylesheet" href="style.css"> | ||
| <link rel="stylesheet" href="reset.css"> | ||
| <link rel="stylesheet" href="colors.css"> | ||
| </head> | ||
|
|
||
| <body> | ||
| <div class="wrap-userinfo wrap-login"> | ||
| <div class="box-userinfo"> | ||
| <div class="wrap-logo"> | ||
| <a href="./index.html"><img src="./img/logo.png" alt="판다마켓" /></a> | ||
| </div> | ||
| <div class="wrap-userform"> | ||
| <form action="" method="POST" autocomplete="on"> | ||
| <fieldset> | ||
| <legend>판다마켓 로그인</legend> | ||
| <div class="main-login"> | ||
| <div class="wrap-input wrap-email"> | ||
| <label for="email">이메일</label> | ||
| <input type="text" class="email" name="email" id="email" placeholder="[email protected]" required /> | ||
| </div> | ||
| <div class="wrap-input wrap-pw"> | ||
| <label for="pw">비밀번호</label> | ||
| <input type="password" class="pw" name="pw" id="pw" required /> | ||
| </div> | ||
| <button type="submit" class="login-button">로그인</button> | ||
| </div> | ||
| </fieldset> | ||
| </form> | ||
| <div class="easy-login"> | ||
| <p class="gray800">간편 로그인하기</p> | ||
| <div class="ic-sns"> | ||
| <a href="https://www.google.com/" target="_blank"><img src="./img/ic_google.png" alt="구글 간편 로그인" /></a> | ||
| <a href="https://www.kakaocorp.com/page/" target="_blank"><img src="./img/ic_kakaotalk.png" alt="카카오톡 간편 로그인" /></a> | ||
| </div> | ||
| </div> | ||
| <div class="link-signup gray800"> | ||
| <p>판다마켓이 처음이신가요?</p> | ||
| <a href="./signup.html">회원가입</a> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </body> | ||
| </html> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="ko"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
| <title>판다마켓 회원가입 페이지</title> | ||
|
|
||
| <link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard-dynamic-subset.css" /> | ||
| <link rel="stylesheet" href="style.css"> | ||
| <link rel="stylesheet" href="reset.css"> | ||
| <link rel="stylesheet" href="colors.css"> | ||
| </head> | ||
|
|
||
| <body> | ||
| <div class="wrap-userinfo wrap-signup"> | ||
| <div class="box-userinfo"> | ||
| <div class="wrap-logo"> | ||
| <a href="./index.html"><img src="./img/logo.png" alt="판다마켓" /></a> | ||
| </div> | ||
| <div class="wrap-userform"> | ||
| <form action="" method="POST" autocomplete="on"> | ||
| <fieldset> | ||
| <legend>판다마켓 회원가입</legend> | ||
| <div class="main-signup"> | ||
| <div class="wrap-input wrap-email"> | ||
| <label for="email">이메일</label> | ||
| <input type="email" class="email" name="email" id="email" placeholder="[email protected]" required /> | ||
| </div> | ||
| <div class="wrap-input wrap-nickname"> | ||
| <label for="nickname">닉네임</label> | ||
| <input type="text" class="nickname" name="nickname" id="nickname" placeholder="판다" required /> | ||
| </div> | ||
| <div class="wrap-input wrap-pw"> | ||
| <label for="pw">비밀번호</label> | ||
| <input type="password" class="pw" name="pw" id="pw" required /> | ||
| </div> | ||
| <div class="wrap-input wrap-pwcheck"> | ||
| <label for="pwcheck">비밀번호 확인</label> | ||
| <input type="text" class="pwcheck" name="pwcheck" id="pwcheck" required /> | ||
|
Comment on lines
+39
to
+40
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 칭찬 |
||
| </div> | ||
| <button type="submit" class="signup-button">회원가입</button> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💬 여담 참고로 type이 submit인 button의 경우 form에서 제출 이벤트가 발생하면, 해당 요소의 onclick 이벤트가 실행되게 됩니다. // case1: form에 onsubmit 이벤트 명시
<form onsubmit="login">
<input /> // input에서 enter 키 입력시 onsubmit 이벤트 실행
<button type="submit">login</button> // 해당 버튼 클릭 시 onsubmit 이벤트 실행
</form>
// case2: submit 버튼에 onclick 이벤트 명시
<form>
<input /> // input에서 enter 키 입력시 button의 onclick 이벤트 실행
<button type="submit" onclick="login">login</button>
</form> |
||
| </div> | ||
| </fieldset> | ||
| </form> | ||
| <div class="easy-login"> | ||
| <p class="gray800">간편 로그인하기</p> | ||
| <div class="ic-sns"> | ||
| <a href="https://www.google.com/" target="_blank"><img src="./img/ic_google.png" alt="구글 간편 로그인" /></a> | ||
| <a href="https://www.kakaocorp.com/page/" target="_blank"><img src="./img/ic_kakaotalk.png" alt="카카오톡 간편 로그인" /></a> | ||
| </div> | ||
| </div> | ||
| <div class="link-signup gray800"> | ||
| <p>이미 회원이신가요?</p> | ||
| <a href="./login.html">로그인</a> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </body> | ||
| </html> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💊 제안
css 변수들을 분리하신 점 좋습니다. 다만 figma에 정의된 색상 변수보다 수가 더 적은 것 같아요~
큰 이유가 없다면 figma와 동일하게 색상 변수를 선언하시는 것이 좋습니다.
그래야 figma에서 해당 색상 변수가 사용될때 확인하기 쉽고 색상값은 디자이너와 의사 소통할 일이 많은 값이라 소통 측면에서도 같은 이름을 쓰는 것이 좋기 때문입니다~
또한 클래스로 빼셔도 되지만 css variable로 선언하셔도 됩니다~