Skip to content

Conversation

@hyo-4
Copy link
Member

@hyo-4 hyo-4 commented Apr 29, 2025

연관 이슈

#163


개요

  • 로그인 UI
  • OAuth router 수정

✅ 작업 내용

  • KAKAO login redirectURL 수정
  • 로그인 UI
  • type URL 지정

🖥 구현 결과

스크린샷 2025-04-29 오후 8 31 29 스크린샷 2025-04-29 오후 8 32 07
2025-04-29.8.31.55.mov

리뷰 요구사항

/login/auth page와 SocialKakao 부분이 필요없는 부분도 일부 빼고 변수명 약간 수정이 되어서 그 파트만 확인해주세요~~


📝 기타 사항

KEY 명도 각 Auth type에 따라 지정해야해서 수정하는 게 좋을 거 같아요(현재는 카카오 하나라 REST_API_KEY)
이 부분도 배포 설정에서 수정하는 걸로 알고 있는데 나중에 한 번에 수정해줄 수 있는지?
네이밍은 같이 고민해도 좋고, 아님 그냥 수정해서 나중에 노티해주어도 괜찮아요~~



@github-actions
Copy link

🎉 Deploy Preview

https://lettering-qfe435i9s-yyypearls-projects.vercel.app
여기에서 배포 결과 확인하기

Comment on lines +20 to +35
<OauthWrapper>
<OauthButton bgColor="#03CF5D">
<Image
src="/assets/icons/ic_naver.svg"
alt="Naver"
width={26}
height={26}
/>
</OauthButton>
<OauthButton bgColor="#FFFFFF">
<SocialGoogle />
</OauthButton>
<OauthButton bgColor="#FEE500">
<SocialKakao />
</OauthButton>
</OauthWrapper>
Copy link
Contributor

Choose a reason for hiding this comment

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

혹시 여기서 각각의 버튼을 별개의 컴포넌트로 정의해야하는 이유가 있을까? constant로 type(NAVER, GOOGLE, KAKAO), svg, backgroundColor 등을 정의해서 map으로 불러와도 되지 않나 싶어서! 로직도 동일해서 공통의 onClick 함수로 사용해도 좋을 것 같아.

Copy link
Member Author

Choose a reason for hiding this comment

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

오호...그게 더 코드 간결성에는 좋겠다..!! 그 생각을 못했네 좋은 의견이야 👍

@yyypearl yyypearl self-requested a review April 30, 2025 16:01
@yyypearl yyypearl added 💄 design 사용자 UI 및 CSS 파일 추가 · 수정 ♻️ refactor 코드 리팩토링 labels Apr 30, 2025
@yyypearl
Copy link
Contributor

응응! env는 수정되면 노션에 업데이트 부탁해!
PR 올릴 때 변경되거나 추가되는 거 같이 얘기해주면 배포되기 전에 변경해두겠습니다😀

@hyo-4 hyo-4 merged commit 5159cf6 into develop May 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💄 design 사용자 UI 및 CSS 파일 추가 · 수정 ♻️ refactor 코드 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants