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

로그인 페이지 퍼블리싱 #35

Merged
merged 15 commits into from
Aug 13, 2023
Merged

로그인 페이지 퍼블리싱 #35

merged 15 commits into from
Aug 13, 2023

Conversation

junseopark0331
Copy link
Collaborator

개요 💡

로그인 페이지를 퍼블리싱 했습니다.

작업 내용 💻

수정된 디자인에 맞게 회원가입, 비밀번호 찾기 버튼을 로그인 버튼 위로 퍼블리싱 했습니다.

리뷰해주세요 🙏

inset offset 부분에서 야매로 처리한게 몇개 있어서 리뷰해주시면 감사하겠습니다:)

@junseopark0331 junseopark0331 added the enhancement New feature or request label Aug 8, 2023
@junseopark0331 junseopark0331 requested a review from uuuunseo August 8, 2023 03:24
@junseopark0331 junseopark0331 linked an issue Aug 8, 2023 that may be closed by this pull request
.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
Copy link

Choose a reason for hiding this comment

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

뭐죠 이 ‘이’는?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

2a7b4eb

반영했습니다.

case logout(param: LogoutRequest)
case refreshToken(param: RefreshTokenRequest)
case logout(param: String)
case refreshToken(param: String)
Copy link

Choose a reason for hiding this comment

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

param 이라는 이름은 의미가 너무 불명확한거같은데 더 의미를 붙여주는 이름으로 바꾸는거 어떤가요

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

363040a

반영했습니다

private lazy var loginButton = NextStepButton().then{
$0.setTitle("로그인", for: .normal)
$0.isEnabled = false
$0.backgroundColor = UIColor(rgb: 0x999999)
Copy link
Contributor

Choose a reason for hiding this comment

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

backgroundColor는 PrimaryColor가 되어야 하는 거 아닌가요...?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

3204b04

반영했습니다.

Comment on lines 35 to 40
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)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

디자인으론 bold로 되어있는데 NextStepButton이 SemiBold로 되어있어서 티는 잘 안 나지만 bold로 바꾸는 게 좋을 거 같아요!!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

2ea11c9

반영했습니다.

Comment on lines 133 to 155
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)
}
Copy link
Contributor

@uuuunseo uuuunseo Aug 8, 2023

Choose a reason for hiding this comment

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

이 로그인 버튼들 StackView에 넣어서 관리하는 거 어떤가요? 그러면 코드가 줄어들고 읽기 편할 거 같아요!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

4ef0537

반영했습니다.

Copy link
Contributor

Choose a reason for hiding this comment

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

idTextField의 placeholder가 피그마에선 "이메일을 입력해주세요"로 디자인 되어있는데 수정되었나요...?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

d2ac306

반영했습니다.

@@ -2,7 +2,7 @@ import UIKit
import Then
import SnapKit

final class SignupViewController: BaseViewController {
final class SignupViewController: BaseVC {
Copy link
Contributor

Choose a reason for hiding this comment

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

여기는 VC로 안 바꾸나용?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

aea1deb

반영했습니다.

SignupViewcontroller -> SignupVC로 변경
@junseopark0331 junseopark0331 merged commit 9284e7a into main Aug 13, 2023
@junseopark0331 junseopark0331 linked an issue Aug 17, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

로그인 페이지 퍼블리싱 로그인 페이지 퍼블리싱
3 participants