Skip to content

Commit

Permalink
refactor:#190/회원가입 정보 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmj12 committed May 12, 2024
1 parent 38d7270 commit 888b02c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion front/capstone_front/assets/translations/ko-KR.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"department": "학부ㆍ학과",
"name": "이름",
"student_number": "학번",
"enter_name": "이름, 학번을 입력해주세요",
"enter_name": "이름을 입력해주세요",
"enter_kmuemail": "국민대 이메일을 입력해주세요",
"enter_password": "비밀번호를 입력해주세요",
"enter_college_department": "단과대학 및 학과를 입력해주세요",
Expand Down
5 changes: 3 additions & 2 deletions front/capstone_front/lib/screens/login/login_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,13 @@ class _LoginScreenState extends State<LoginScreen> {
Row(
children: [
Flexible(
child: loginTextField(context, tr("kmu_email"), 0, false),
child: loginTextField(
context, tr("login.kmu_email"), 0, false),
),
const Text("@kookmin.ac.kr"),
],
),
loginTextField(context, tr("password"), 1, true),
loginTextField(context, tr("login.password"), 1, true),
Row(
children: [
Flexible(
Expand Down
8 changes: 1 addition & 7 deletions front/capstone_front/lib/screens/signup/signup_name.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,11 @@ class _SignupNameScreenState extends State<SignupNameScreen> {
info: 'name',
isObscure: false,
userInfo: userInfo),
SignupTextField(
context: context,
label: tr('signup.student_number'),
info: 'studentNum',
isObscure: false,
userInfo: userInfo),
const Spacer(),
BasicButton(
text: tr('signup.next'),
onPressed: () {
if (userInfo['name'] != '' && userInfo['studentNum'] != '') {
if (userInfo['name'] != '') {
context.push('/signup/college');
}
}),
Expand Down

0 comments on commit 888b02c

Please sign in to comment.