diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index f1cb2880bc..f5161f79b1 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -424,6 +424,7 @@ "somthing_went_wrong_compiling": "", "split_screen": "", "sso_link_error": "", + "start_by_adding_your_email": "", "start_free_trial": "", "stop_compile": "", "stop_on_validation_error": "", diff --git a/services/web/frontend/js/features/settings/components/emails/add-email.tsx b/services/web/frontend/js/features/settings/components/emails/add-email.tsx index db0914c0eb..94ceb5efea 100644 --- a/services/web/frontend/js/features/settings/components/emails/add-email.tsx +++ b/services/web/frontend/js/features/settings/components/emails/add-email.tsx @@ -14,6 +14,7 @@ import { ssoAvailableForDomain } from '../../utils/sso' import { postJSON } from '../../../../infrastructure/fetch-json' import { University } from '../../../../../../types/university' import { CountryCode } from '../../data/countries-list' +import { isValidEmail } from '../../../../shared/utils/email' function AddEmail() { const { t } = useTranslation() @@ -106,20 +107,44 @@ function AddEmail() { ) } + const InputCol = ( +