Skip to content

구현 과제 - 로그인/회원가입 모달 - 소리#28

Open
sorikikikim wants to merge 2 commits intomainfrom
11-soRi
Open

구현 과제 - 로그인/회원가입 모달 - 소리#28
sorikikikim wants to merge 2 commits intomainfrom
11-soRi

Conversation

@sorikikikim
Copy link
Copy Markdown

로그인/회원가입 첫번째 레이아웃을 구현했습니다

@sorikikikim sorikikikim changed the title 구현 과제 - 로그인/회원가입 모달 - 소리 구현과제 - 로그인/회원가입 모달 - 소리 Aug 3, 2023
@sorikikikim sorikikikim changed the title 구현과제 - 로그인/회원가입 모달 - 소리 구현 과제 - 로그인/회원가입 모달 - 소리 Aug 3, 2023
@kmryuuu
Copy link
Copy Markdown

kmryuuu commented Aug 3, 2023

우와 호버랑 동작주신 부분 까지 정말 잘하셨는데요! 감탄하고 갑니다! 🙊

@handongsu
Copy link
Copy Markdown

깔끔하네요!! 너무 잘하십니다~

@sorikikikim
Copy link
Copy Markdown
Author

@kmryuuu @handongsu 경민님 동수님 감사합니당ㅎㅎ🥹

css/login.css Outdated
Comment on lines +147 to +149
input#login-hold{
display:none;
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

class="a11y-hidden로 숨김처리를 하셨으니 스크린리더가 읽을 수 있게 삭제하셔도 좋을것 같습니다:)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

앗 제가 a11y-hidden 클래스 적용 후 지운다는게 그대로 둬버렸네요..ㅎㅎ

Comment on lines +212 to +228
.divider::after{
content: "";
height: 1px;
width: 100%;
background-color: #C4C4C4;
position: absolute;
top: 0.5em;
left: 0;
}

.divider span {
font-size: 14px;
padding: 0 10px;
background-color: #FFF;
z-index: 2;
position: relative;
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after로 하나의 선을 그려준 뒤 span에 z-index를 활용해서 위로 오게 만드셨군요👍

}

.login-btn span {
margin: auto;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저는 텍스트가 당연히 중앙일거라고 생각했는데 지금보니 텍스트가 완벽한 중앙 정렬이 아니었네요
매의 눈이십니다 👍

@YennieJ
Copy link
Copy Markdown
Collaborator

YennieJ commented Aug 3, 2023

코드,주석,reset.css 정말 깔끔하고 여러 효과까지👍👍

  1. 소셜로그인 효과에 transition이 살짝 들어가도 좋을꺼같아요ㅎㅎ
  2. jQuery를 사용하셨으니 warnning 문구들의 위치를 살짝씩 조절해봐도 좋을것 같아요!
    고생하셨습니다 소리님!

Copy link
Copy Markdown
Collaborator

@merrybmc merrybmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

안녕하세요 소리님! 첫 pr을 축하드려요 🎉🎉🎉

구현 완성도도 엄청 높으신데 자바스크립트까지 구현하셨네요 😮😮👍

Comment on lines +43 to +46
<div class="login-hold">
<input type="checkbox" id="login-hold" class="a11y-hidden">
<label for="login-hold">로그인 상태 유지</label>
</div>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
피그마 체크박스 배치

image
소리님 체크박스 배치

피그마의 요구사항과 배치가 살짝 어긋나있습니다.
가운데로 맞춰주시면 더 이쁘게 보일 것 같아요.

Copy link
Copy Markdown
Author

@sorikikikim sorikikikim Aug 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

안그래도 저게 신경쓰였는데 :before로 css를 주다보니 vertical-align을 적용해도 저게 최선이더라구요.. 🥲 좋은 방법 있을까요??

Comment on lines +64 to +79
<a href="https://google.com" class="login-btn sns-login">
<img src="images/Google__G__Logo 1.png" alt="google">
<span>구글 계정으로 로그인</span>
</a>
<a href="https://facebook.com" class="login-btn sns-login fb-btn">
<img src="images/facebook.png" alt="facebook">
<span>페이스북 계정으로 로그인</span>
</a>
<a href="https://naver.com" class="login-btn sns-login nv-btn">
<img src="images/naver-logo.png" alt="naver">
<span>네이버 계정으로 로그인</span>
</a>
<a href="https://www.kakaocorp.com/page/service/service/KakaoTalk" class="login-btn sns-login kt-btn">
<img src="images/message-circle.png" alt="kakaotalk">
<span>카카오톡 계정으로 로그인</span>
</a>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

로그인 버튼의 경우 목적과 기능을 고려했을 때 button 태그로 바꾸는 것도 고려해보시면 좋을 것 같아요. 😀

Copy link
Copy Markdown
Author

@sorikikikim sorikikikim Aug 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

처음에는 <button> 태그로 작성했다가 소셜 로그인의 경우, 해당 페이지로 리다이렉션 된다고 생각해서 <a>태그가 적절하지 않나 하고 바꿔봤습니다... ㅎㅎㅎㅎㅎ 이 부분에 대해서는 검색 해봐야겠어요!

@sorikikikim sorikikikim self-assigned this Aug 4, 2023
@AYFG
Copy link
Copy Markdown

AYFG commented Aug 4, 2023

자바스크립트 이용해서 잘구현하셨네요...! 소셜로그인 호버 부분도 예뻐서 계속 커서 옮기면서 봤습니다
고생하셨습니다 앞으로 잘부탁드려요!!👍👍

Copy link
Copy Markdown

@timetam24 timetam24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

소리님 코드리뷰입니다😊

<div class="underline"></div>

<main>
<h2>위니브에서 여러분의 궁금증을 해결하세요! :)</h2>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

코드 실행에는 문제가 없었지만 특수 문자 ')' 기호를 엔티티 코드 ) 로 바꾼다면 VSCode 상에서 빨간색이 사라져 보기 편할 듯 합니다 :)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오호 그런 방법이 있군요! 변경해보겠습니다ㅎㅎ


$("#login-btn").click((e) => {
// 아이디 입력 안됐을 때
if (!$("#login-id").val()) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아이디 입력 체크에서 스페이스바를 누르면 true로 처리가 되는데 공백 제거를 위해 trim() 혹은 replace() 사용을 추천 드립니다! 자바스크립트 기능까지 생각하시느라 너무 너무 수고 많으셨습니다 소리님😊👏

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

그 부분까지는 생각을 못했는데 처리해줘야겠군요..!!! 감사합니당😊👍

Comment on lines +256 to +259
.login-btn:hover {
font-weight: 600;
border-width: 3px;
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

커서가 어떤 버튼 위에 있는지 한 눈에 들어와서 좋았습니다! 그리고 버튼을 눌렀을 때 해당 웹 사이트로 이동하는 센스 재밌었습니다👍

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

너무 심심해서 넣어봤어요ㅎㅎㅎ~~ 꼼꼼히 봐주셔서 감사합니당👍👍

@sorikikikim
Copy link
Copy Markdown
Author

@AYFG ㅎㅎ좋게 봐주셔서 감사합니다! 저도 잘 부탁드려요!!!👍
@timetam24 꼼꼼한 리뷰 감사합니당~!! 수정해볼게요ㅎㅎㅎ👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants