-
Notifications
You must be signed in to change notification settings - Fork 31
[오수빈] Sprint2 #36
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-\uC624\uC218\uBE48-sprint2"
[오수빈] Sprint2 #36
Changes from all commits
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,46 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="ko"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard.min.css" /> | ||
| <link rel="stylesheet" href="style.css"> | ||
| <title>판다마켓</title> | ||
| </head> | ||
| <body> | ||
| <div class="container"> | ||
| <a href="/"> | ||
| <img src="/images/logo.png" alt="logo" class="logo"> | ||
| </a> | ||
| <form> | ||
| <div class="form"> | ||
| <label for="email">이메일</label> | ||
| <input id="email" name="email" placeholder="이메일을 입력해주세요" type="email"> | ||
| </div> | ||
| <div class="form"> | ||
| <label for="password">비밀번호</label> | ||
| <div class="input-wrap"> | ||
| <input id="password" name="password" placeholder="비밀번호를 입력해주세요" type="password"> | ||
| <img src="/images/password/hide.png" alt="비밀번호 가리기" class="hide"> | ||
| </div> | ||
| </div> | ||
| <button>로그인</button> | ||
| </form> | ||
| <div class="sns-container"> | ||
| <div class="snslogin">간편 로그인하기</div> | ||
| <div class="sns"> | ||
| <a href="https://www.google.com"> | ||
| <img src="/images/sns/google.png" alt="구글 로고"> | ||
| </a> | ||
| <a href="https://www.kakaocorp.com/page/"> | ||
| <img src="/images/sns/kakaotalk.png" alt="카카오톡 로고"> | ||
| </a> | ||
| </div> | ||
| </div> | ||
| <div class="move"> | ||
| 판다마켓이 처음이신가요? | ||
| <a href="/login/signup.html">회원가입</a> | ||
| </div> | ||
| </div> | ||
| </body> | ||
| </html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="ko"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard.min.css" /> | ||
| <link rel="stylesheet" href="style.css"> | ||
| <title>판다마켓</title> | ||
| </head> | ||
| <body> | ||
| <div class="container"> | ||
| <a href="/"> | ||
| <img src="/images/logo.png" alt="logo" class="logo"> | ||
| </a> | ||
| <form> | ||
| <div class="form"> | ||
| <label for="email">이메일</label> | ||
| <input id="email" name="email" placeholder="이메일을 입력해주세요" type="email"> | ||
| </div> | ||
| <div class="form"> | ||
| <label for="nickname">닉네임임</label> | ||
| <input id="nickname" name="nickname" placeholder="닉네임을 입력해주세요"> | ||
| </div> | ||
| <div class="form"> | ||
| <label for="password">비밀번호</label> | ||
| <div class="input-wrap"> | ||
| <input id="password" name="password" placeholder="비밀번호를 입력해주세요" type="password"> | ||
| <img src="/images/password/hide.png" alt="비밀번호 가리기" class="hide"> | ||
| </div> | ||
| </div> | ||
| <div class="form"> | ||
| <label for="password-confirm">비밀번호 확인</label> | ||
| <div class="input-wrap"> | ||
| <input id="password-confirm" name="password-confirm" placeholder="비밀번호를 다시 한 번 입력해주세요" type="password"> | ||
| <img src="/images/password/hide.png" alt="비밀번호 가리기" class="hide"> | ||
| </div> | ||
| </div> | ||
| <button>회원가입</button> | ||
| </form> | ||
| <div class="sns-container"> | ||
| <div class="snslogin">간편 로그인하기</div> | ||
|
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. class 이름 짓는 기준이 애매하다면, BEM을 고려해보시는 것도 좋아요! |
||
| <div class="sns"> | ||
| <a href="https://www.google.com"> | ||
| <img src="/images/sns/google.png" alt="구글 로고"> | ||
| </a> | ||
| <a href="https://www.kakaocorp.com/page/"> | ||
| <img src="/images/sns/kakaotalk.png" alt="카카오톡 로고"> | ||
|
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. alt를 잘 챙겨주시는군요! 👍 |
||
| </a> | ||
| </div> | ||
| </div> | ||
| <div class="move"> | ||
| 판다마켓이 처음이신가요? | ||
| <a href="/login/login.html">로그인</a> | ||
| </div> | ||
| </div> | ||
| </body> | ||
| </html> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,137 @@ | ||
| :root { | ||
|
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. 변수를 정의하셨군요! 👍 |
||
| --gray-900: #111827; | ||
| --gray-800: #1F2937; | ||
|
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. 이렇게 공통으로 사용되는 스타일은 파일을 따로 만들어 관리 하셔도 좋습니다 :) |
||
| --gray-700: #374151; | ||
| --gray-600: #4B5563; | ||
| --gray-500: #6B7280; | ||
| --gray-400: #9CA3AF; | ||
| --gray-200: #E5E7EB; | ||
| --gray-100: #F3F4F6; | ||
| --gray-50: #F9FAFB; | ||
| --blue: #3692FF; | ||
| --blue-400: #CFE5FF; | ||
| } | ||
|
|
||
| * { | ||
| box-sizing: border-box; | ||
| } | ||
|
|
||
| body { | ||
| font-family: Pretendard, sans-serif; | ||
| margin: 0; | ||
| } | ||
|
|
||
| .container { | ||
| width: 640px; | ||
| margin: auto; | ||
| min-height: 100vh; | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: center; | ||
| gap: 40px; | ||
| } | ||
|
|
||
| form { | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: 24px; | ||
| width: 100%; | ||
| } | ||
|
|
||
| .form { | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: start; | ||
| gap: 16px; | ||
| } | ||
|
|
||
| .logo { | ||
| width: 396px; | ||
| } | ||
|
|
||
| label { | ||
| color: var(--gray-800); | ||
| font-size: 18px; | ||
| font-weight: 700; | ||
| line-height: 26px; | ||
| } | ||
|
|
||
| input { | ||
| width: 100%; | ||
| background-color: var(--gray-100); | ||
| border-radius: 12px; | ||
| padding: 16px 24px; | ||
| font-size: 16px; | ||
| font-weight: 400; | ||
| line-height: 26px; | ||
| border: 0px; | ||
| } | ||
|
|
||
| input:focus { | ||
| outline-color: var(--blue); | ||
| } | ||
|
|
||
| button { | ||
| background-color: var(--gray-400); | ||
| color: var(--gray-100); | ||
| font-size: 20px; | ||
| font-weight: 600; | ||
| line-height: 32px; | ||
| text-align: center; | ||
| padding: 16px 124px; | ||
| border-radius: 40px; | ||
| width: 100%; | ||
| border: 0px; | ||
| } | ||
|
|
||
| .sns-container { | ||
| width: 100%; | ||
| border-radius: 8px; | ||
| padding: 16px 23px; | ||
| display: flex; | ||
| justify-content: space-between; | ||
| align-items: center; | ||
| background-color: #E6F2FF; | ||
| } | ||
|
|
||
| .snslogin { | ||
| font-size: 16px; | ||
| font-weight: 500; | ||
| line-height: 26px; | ||
| color: var(--gray-800); | ||
| } | ||
|
|
||
| .sns { | ||
| display: flex; | ||
| gap: 16px; | ||
| } | ||
|
|
||
| .sns img { | ||
| width: 42px; | ||
| } | ||
|
|
||
| .move { | ||
| font-size: 14px; | ||
| font-weight: 500; | ||
| line-height: 24px; | ||
| color: var(--gray-800); | ||
| } | ||
|
|
||
| .move a { | ||
| color: var(--blue); | ||
| } | ||
|
|
||
| .input-wrap { | ||
| width: 100%; | ||
| position: relative; | ||
| } | ||
|
|
||
| .input-wrap .hide { | ||
| position: absolute; | ||
| right: 20px; | ||
| top: 30%; | ||
| width: 24px; | ||
| cursor: pointer; | ||
| } | ||
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.
class명을 목적과 기능에 맞게 조금 더 신경 써주시면 좋을 거 같아요!