Skip to content
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

[FEAT] 로그인박스 추가 #27

Merged
merged 7 commits into from
Jul 31, 2024
Merged

[FEAT] 로그인박스 추가 #27

merged 7 commits into from
Jul 31, 2024

Conversation

moony1204
Copy link
Contributor

작성자: @moony1204

체크 리스트

  • 적절한 제목으로 수정했나요?
  • 상단에 이슈 번호를 기입했나요?
  • Target Branch를 올바르게 설정했나요?
  • Label을 알맞게 설정했나요?

작업 내역

  • 로그인박스 구현

비고

  • 깡통입니당. 디자인만 구현되어 있습니다

@moony1204 moony1204 added the feat label Jul 19, 2024
@moony1204 moony1204 self-assigned this Jul 19, 2024
@moony1204 moony1204 changed the title [FEAT] 로그인박스 추가 [FEAT] 로그인박스 추가 #7 Jul 19, 2024
@moony1204 moony1204 linked an issue Jul 19, 2024 that may be closed by this pull request
1 task
@moony1204 moony1204 changed the title [FEAT] 로그인박스 추가 #7 [FEAT] 로그인박스 추가 Jul 19, 2024
@chunzhi23 chunzhi23 self-requested a review July 24, 2024 05:46
Copy link

Copy link
Contributor

@chunzhi23 chunzhi23 left a comment

Choose a reason for hiding this comment

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

버튼을 이미지로 만들지 않고 Mantine Button을 사용해서 만들면 어떨까요?
leftsection에 아이콘(또는 이미지)를 넣고 스타일로 width를 설정하면 좋을 것 같다는 생각입니다.

Copy link
Contributor

@chunzhi23 chunzhi23 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다. 아래 수정사항 외에는 이후 라이트/다크 색상을 찬찬히 바꾸면 좋을 것 같습니다!

gap: 8px;
position: relative;
width: 727px;
height: 570px;
Copy link
Contributor

Choose a reason for hiding this comment

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

로그인박스의 width와 height를 고정해두지 말고

  1. flexbox로 그대로 둬서 이 컴포넌트를 사용하는 그릇이 맞추게 하거나
  2. LoginBox props로 width와 height를 받아와서 style={{width: width, height: height}}와 같이 하면 어떨까요?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

최대한 맞춰서 변경해보았습니다

margin: 10px 0;
cursor: pointer;
width: 600px;
height: 90px;
Copy link
Contributor

Choose a reason for hiding this comment

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

로그인박스와 마찬가지로 width: 100%처럼 크기를 유동적으로 설정할 수 있게 하면 좋을 것 같습니다.

<div className={classes.loginBox}>
<img src="/images/S-TopLogo.png" alt="Logo" className={classes.logo} />
<img src="/images/kakaoLoginButton.png" alt="카카오 로그인" className={classes.button} />
<img src="/images/naverLoginButton.png" alt="네이버 로그인" className={classes.button} />
Copy link
Contributor

Choose a reason for hiding this comment

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

로그인 버튼을 이미지 대신 크기가 유동적일 수 있게 Mantine Button을 사용해서 만들면 어떨까요?
leftsection에 아이콘(또는 이미지)를 넣고 스타일로 width를 설정하면 좋을 것 같다는 생각입니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

mantine button으로 수정하였습ㄴㅣ다

@moony1204 moony1204 requested a review from chunzhi23 July 31, 2024 08:43
Copy link

@moony1204 moony1204 requested a review from chqkq July 31, 2024 08:47
Copy link
Contributor

@chunzhi23 chunzhi23 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

@moony1204 moony1204 merged commit f0ac743 into develop Jul 31, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🚀 [FEAT] UI 컴포넌트를 개발합니다. (3)
3 participants