Skip to content

Commit

Permalink
feat: 회원가입 시 국가 설정 추가 (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
guesung committed Jan 17, 2024
1 parent 560c30c commit afadbd0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,18 +165,22 @@ export default function InputForm() {
<SegmentGroup.Segment value="FEMALE" label={tc('female')} />
</SegmentGroup>
</Flex>
<TextFieldController
label="국가"
hookForm={hookForm}
register={register('countryName')}
readOnly
value={watch('countryName')}
onClick={() =>
openBottomSheet(({ isOpen }) => (
<CountryBotoomSheet isOpen={isOpen} onClose={closeBottomSheet} control={control} />
))
}
/>

<Flex direction="column" gap={4}>
<p className="text-subtitle-3">{t('country')}</p>
<TextFieldController
label="국가"
hookForm={hookForm}
register={register('countryName')}
readOnly
value={watch('countryName')}
onClick={() =>
openBottomSheet(({ isOpen }) => (
<CountryBotoomSheet isOpen={isOpen} onClose={closeBottomSheet} control={control} />
))
}
/>
</Flex>
</Flex>
<ButtonGroup>
<Button type="submit" disabled={!isAllTyped}>
Expand Down
1 change: 1 addition & 0 deletions src/app/i18n/locales/en/join.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"sensible": "Sensible",
"leaderType": "Leader-type",
"humorous": "Humorous",
"country": "country",

"재학생 인증을 건너뛰시겠습니까?": "Would you like to skip student verification?",
"재학생 인증을 진행하면": "If you proceed with student verification,",
Expand Down
1 change: 1 addition & 0 deletions src/app/i18n/locales/ko/join.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"sensible": "센스있는",
"leaderType": "리더십 있는",
"humorous": "유머러스한",
"country": "국가",

"재학생 인증을 건너뛰시겠습니까?": "재학생 인증을 건너뛰시겠습니까?",
"재학생 인증을 진행하면": "재학생 인증을 진행하면",
Expand Down

0 comments on commit afadbd0

Please sign in to comment.