-
Notifications
You must be signed in to change notification settings - Fork 35
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
[이형준]sprint2 #41
The head ref may contain hidden characters: "Basic-\uC774\uD615\uC900"
[이형준]sprint2 #41
Conversation
1. Add prototype of login and sign-up page 2. Fix all directory structure 3. Fix html - Close symbol of link, meta and img tag
스프린트 미션1과 미션2의 branch 설정을 해주려 했으나 주강사님과의 질문을 통해 미션2까지는 Basic-이형준 branch에서 계속 진행하고 미션3부터 branch를 새로 생성해서 진행하는 것으로 함.
1. Add favicon 2. Separate homepage css (home.css -> global.css, reset.css, home.css) 3. Edit HTML class name to kebab case 4. Add error-red color value to global.css 5. Fix decimal unit px to int unit
Netlify에 배포할 경우 메인페이지의 index.html 파일이 base directory에 있어야 정상적으로 css와 image가 로드 됨을 확인하고 수정함.
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.
과제 하느라 고생하셨습니다! 클래스 명 잘 작성해주셨네요.
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들 따로 파일로 만드신거 좋네요!
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.
reset css 부분을 하나로 합치지 않고 파일로 따로 구분해서 관리해주시는 것도 좋은 것 같습니다.
justify-content: space-between; | ||
align-items: center; | ||
position: sticky; |
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.
sticky 사용하신거 좋네요! 추가로 sticky와 fixed의 차이점도 공부해보시면 좋을 것 같습니다.
.right-main .content-block h3, | ||
.right-main .content-block p { |
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 명을 하나 추가해서 해당 h3와 p 태그에 적용시켜주는 것도 좋습니다.
} | ||
|
||
.simple-login { | ||
background-color: #e6f2ff; |
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.
이 색깔도 변수로 사용해주시면 좋겠네요!
@@ -3,33 +3,41 @@ | |||
<html lang="ko"> | |||
<head> | |||
<meta charset="utf-8"> | |||
<link rel="icon" href="/images/logo.png?v=2"/> |
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.
v=2는 어떤 의미인가요?
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.
파비콘이 제대로 적용되지 않아서 사용하였습니다. 참고한 링크입니다.
https://stackoverflow.com/questions/19104795/browser-doesnt-show-favicon-ico-but-it-exists
<div> | ||
<img class="main-page-img" src="/images/img_home_01@3x.png" alt="홈 이미지 1"> | ||
<img class="main-page-img" src="/images/img_home_01.png" alt="홈 이미지 1" /> |
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.
홈 화면에 이미지를 01, 02, 03 이런식으로 관리해주셨는데, 좀 더 구체적인 이름을 지어주시면 나중에 유지보수할 때 더 수월해집니다!
<h3>이메일</h3> | ||
<input type="email" | ||
placeholder="이메일을 입력해주세요" | ||
onfocus="this.placeholder=''" |
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.
무엇인가 입력하면 placeholder는 자동으로 사라져서 이 로직은 넣어주시지 않아도 괜찮습니다!
Netlify에서 배포하는 과정에서 Base directory에 index.html을 따로 빼놓지 않으면 사이트가 제대로 배포되지 않았는데, 혹시 index.html을 폴더 최상단에 위치 시키는게 필수인가요?
|
Netlify 자체에서 별도로 에러가 발생하진 않았고 웹페이지 상에서 404 error 아니면 css와 img 폴더가 로드되지 않았습니다. |
요구사항
기본
메인페이지
로그인 페이지, 회원가입 페이지 공통
로그인 페이지
회원가입 페이지
심화
주요 변경사항
사이트 배포 링크
스크린샷
멘토에게