From 9e471670d34762edec2fa1118de9f40bbf972727 Mon Sep 17 00:00:00 2001 From: Koosha Lahouti Date: Tue, 22 Jul 2025 14:04:26 +0330 Subject: [PATCH] fix: styles --- public/locales/en/completionForm.json | 4 +- public/locales/fa/completionForm.json | 4 +- .../components/EmailSection.tsx | 5 +- .../components/PersonalInfoFields.tsx | 152 +++++++++++++++++- .../components/SubmitSection.tsx | 9 +- .../components/UserCompletionForm.tsx | 8 +- 6 files changed, 167 insertions(+), 15 deletions(-) diff --git a/public/locales/en/completionForm.json b/public/locales/en/completionForm.json index 4ffaedd..15e3e8a 100644 --- a/public/locales/en/completionForm.json +++ b/public/locales/en/completionForm.json @@ -26,6 +26,8 @@ "agreementPart1": "By continuing the registration process, you agree to the", "agreementLinkText": " Harmony Terms and Conditions", "agreementPart2": ".", - "sent": "sent" + "sent": "sent", + "country": "country", + "dateOfBirth": "Date of birth(optional)" } } diff --git a/public/locales/fa/completionForm.json b/public/locales/fa/completionForm.json index 0f7e883..abcf0d7 100644 --- a/public/locales/fa/completionForm.json +++ b/public/locales/fa/completionForm.json @@ -26,6 +26,8 @@ "agreementPart1": " ادامه فرایند ثبت نام به منزله تایید و قبول", "agreementLinkText": " قوانین و مقررات هارمونی", "agreementPart2": "می باشد.", - "sent": "ارسال شد!" + "sent": "ارسال شد!", + "country": "کشور", + "dateOfBirth": "تاریخ تولد(اختیاری)" } } diff --git a/src/features/authentication/components/EmailSection.tsx b/src/features/authentication/components/EmailSection.tsx index 9512151..67d5bf8 100644 --- a/src/features/authentication/components/EmailSection.tsx +++ b/src/features/authentication/components/EmailSection.tsx @@ -116,7 +116,7 @@ export function EmailSection({ diff --git a/src/features/authentication/components/UserCompletionForm.tsx b/src/features/authentication/components/UserCompletionForm.tsx index 971aefc..7acfdb7 100644 --- a/src/features/authentication/components/UserCompletionForm.tsx +++ b/src/features/authentication/components/UserCompletionForm.tsx @@ -9,6 +9,7 @@ import { SubmitSection } from './SubmitSection'; export function UserCompletionForm() { const { t } = useTranslation('completionForm'); const [sex, setSex] = useState(''); + const [country, setCountry] = useState(''); const [showPasswordSection, setShowPasswordSection] = useState(false); const [password, setPassword] = useState(''); const [confirmPassword, setConfirmPassword] = useState(''); @@ -141,7 +142,12 @@ export function UserCompletionForm() { - +