-
Notifications
You must be signed in to change notification settings - Fork 1
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: (#3) 스플래시 페이지 및 소셜 로그인 구현 #5
Conversation
스플래시 화면 구현, 해당 과정에서 폰트적용이 안돼 폰트 적용 부분도 수정함
1. 불필요한 import 정리 2. button type 속성 추가
로컬 환경에서 테스트 완료
추가적으로 로그인 페이지 SplashTop 위치도 수정
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.
수고하셨습니다 ⭐️
메인 머지할때 squash 머지 어떠신가요 ? pr크기를 작게 하고 스쿼시 머지하는 게 더 깔끔하게 보이더라구요
src/app/auth/callback/page.tsx
Outdated
} | ||
|
||
const getUserData = async (socialType: string, sendDataArr: SendData[]) => { | ||
let url: string = `https://cnergy.p-e.kr/v1/oauth/login/${socialType}?` |
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.
apiUrl은 환경변수로 따로 관리하는 게 더 좋을 것 같아요!
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.
오 좋아요 알겠습니다!
export const socialTypes: OauthBtnData[] = [ | ||
{ | ||
id: 1, | ||
type: 'kakao', | ||
text: '카카오', | ||
auth_uri: 'https://cnergy.p-e.kr/v1/oauth/kakao', | ||
}, | ||
{ | ||
id: 2, | ||
type: 'naver', | ||
text: '네이버', | ||
auth_uri: 'https://cnergy.p-e.kr/v1/oauth/naver', | ||
}, | ||
{ | ||
id: 3, | ||
type: 'google', | ||
text: '구글', | ||
auth_uri: 'https://cnergy.p-e.kr/v1/oauth/google', | ||
}, | ||
] |
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.
auth_url은 생략가능할 것 같아요 !
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://cnergy.p-e.kr/v1/oauth/는 고정하고 해당 객체읜 type을 https://cnergy.p-e.kr/v1/oauth/${type}
이렇게 넣자는 이야기 일까요??
}, | ||
fontFamily: { | ||
pretendard: 'var(--pretendard)', | ||
fontFamily: { |
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.
굿굿
[해야할 작업]
[feat: 스플래시 페이지 구현 작업 세부내용]
[feat: 소셜로그인 구현 완료 작업 세부 내용]