-
Notifications
You must be signed in to change notification settings - Fork 0
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
로그인 페이지 퍼블리싱 #35
로그인 페이지 퍼블리싱 #35
Conversation
logoutRequest와 RefreshToken Request를
gitignore파일에 baseURL 추가
URLInfo 제거
ViewController -> VC로 수정
로그인 페이지를 수정된 디자인에 맞게 퍼블리싱
.gitignore
Outdated
@@ -1,4 +1,5 @@ | |||
# Created by https://www.toptal.com/developers/gitignore/api/swiftpackagemanager,swift,xcode,macos,git | |||
|
|||
이# Created by https://www.toptal.com/developers/gitignore/api/swiftpackagemanager,swift,xcode,macos,git |
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.
반영했습니다.
case logout(param: LogoutRequest) | ||
case refreshToken(param: RefreshTokenRequest) | ||
case logout(param: String) | ||
case refreshToken(param: String) |
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.
param 이라는 이름은 의미가 너무 불명확한거같은데 더 의미를 붙여주는 이름으로 바꾸는거 어떤가요
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.
반영했습니다
private lazy var loginButton = NextStepButton().then{ | ||
$0.setTitle("로그인", for: .normal) | ||
$0.isEnabled = false | ||
$0.backgroundColor = UIColor(rgb: 0x999999) |
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.
backgroundColor는 PrimaryColor가 되어야 하는 거 아닌가요...?
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.
반영했습니다.
private lazy var loginButton = NextStepButton().then{ | ||
$0.setTitle("로그인", for: .normal) | ||
$0.isEnabled = false | ||
$0.backgroundColor = UIColor(rgb: 0x999999) | ||
$0.addTarget(self, action: #selector(loginButtonTapped), for: .touchUpInside) | ||
} |
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.
디자인으론 bold로 되어있는데 NextStepButton이 SemiBold로 되어있어서 티는 잘 안 나지만 bold로 바꾸는 게 좋을 거 같아요!!
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.
반영했습니다.
self.appleLoginButton.snp.makeConstraints{ | ||
$0.height.width.equalTo(36) | ||
$0.bottom.equalTo(firstTimeIdeaArchiveLabel.snp.bottom).inset(32) | ||
$0.bottom.equalTo(self.view.safeAreaLayoutGuide.snp.bottom).inset(96) | ||
$0.trailing.equalTo(googleLoginButton.snp.leading).offset(-28) | ||
} | ||
|
||
self.googleLoginButton.snp.makeConstraints{ | ||
$0.height.width.equalTo(36) | ||
$0.bottom.equalTo(firstTimeIdeaArchiveLabel.snp.bottom).inset(32) | ||
$0.bottom.equalTo(self.appleLoginButton.snp.bottom) | ||
$0.centerX.equalToSuperview().offset(-32) | ||
} | ||
|
||
self.kakaoLoginButton.snp.makeConstraints{ | ||
$0.height.width.equalTo(36) | ||
$0.bottom.equalTo(firstTimeIdeaArchiveLabel.snp.bottom).inset(32) | ||
$0.bottom.equalTo(self.appleLoginButton.snp.bottom) | ||
$0.leading.equalTo(view.snp.centerX).offset(14) | ||
} | ||
|
||
self.githubLoginButton.snp.makeConstraints{ | ||
$0.height.width.equalTo(36) | ||
$0.bottom.equalTo(firstTimeIdeaArchiveLabel.snp.bottom).inset(32) | ||
$0.bottom.equalTo(self.appleLoginButton.snp.bottom) | ||
$0.leading.equalTo(kakaoLoginButton.snp.trailing).offset(28) | ||
} |
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.
이 로그인 버튼들 StackView에 넣어서 관리하는 거 어떤가요? 그러면 코드가 줄어들고 읽기 편할 거 같아요!
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.
idTextField의 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.
반영했습니다.
파라미터의 이름을 param에서 각각의 request로
stackView안에 넣었습니다.
아이디를 입력해주세요 -> 이메일을 입력해주세요
로그인 버튼의 폰트를 semibold에서 bold로
primaryColor를 찾지 못해서 청록색으로 수정했어요.
PrimaryColor로 수정
@@ -2,7 +2,7 @@ import UIKit | |||
import Then | |||
import SnapKit | |||
|
|||
final class SignupViewController: BaseViewController { | |||
final class SignupViewController: BaseVC { |
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.
여기는 VC로 안 바꾸나용?
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.
반영했습니다.
SignupViewcontroller -> SignupVC로 변경
개요 💡
로그인 페이지를 퍼블리싱 했습니다.
작업 내용 💻
수정된 디자인에 맞게 회원가입, 비밀번호 찾기 버튼을 로그인 버튼 위로 퍼블리싱 했습니다.
리뷰해주세요 🙏
inset offset 부분에서 야매로 처리한게 몇개 있어서 리뷰해주시면 감사하겠습니다:)