카카오, 애플 로그인 버튼 추가
This commit is contained in:
@@ -21,6 +21,14 @@ struct LoginView: View {
|
||||
|
||||
var body: some View {
|
||||
BaseView(isLoading: $viewModel.isLoading) {
|
||||
ZStack {
|
||||
Color.clear
|
||||
.contentShape(Rectangle())
|
||||
.onTapGesture {
|
||||
hideKeyboard()
|
||||
focusedField = nil
|
||||
}
|
||||
|
||||
VStack(spacing: 0) {
|
||||
DetailNavigationBar(title: "로그인")
|
||||
|
||||
@@ -114,8 +122,30 @@ struct LoginView: View {
|
||||
}
|
||||
.padding(.top, 20)
|
||||
|
||||
HStack(spacing: 13.3) {
|
||||
Image("ic_login_email")
|
||||
.onTapGesture {
|
||||
hideKeyboard()
|
||||
AppState.shared.setAppStep(step: .signUp)
|
||||
}
|
||||
|
||||
Image("ic_login_kakao")
|
||||
.onTapGesture {
|
||||
hideKeyboard()
|
||||
AppState.shared.setAppStep(step: .signUp)
|
||||
}
|
||||
|
||||
Image("ic_login_apple")
|
||||
.onTapGesture {
|
||||
hideKeyboard()
|
||||
AppState.shared.setAppStep(step: .signUp)
|
||||
}
|
||||
}
|
||||
.padding(.top, 20)
|
||||
|
||||
Spacer()
|
||||
}
|
||||
}
|
||||
.onAppear {
|
||||
self.focusedField = .email
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user