diff --git a/src/app/i18n/locales/de.json b/src/app/i18n/locales/de.json index b22ba8deaa..a24474fdb4 100644 --- a/src/app/i18n/locales/de.json +++ b/src/app/i18n/locales/de.json @@ -83,15 +83,20 @@ "title": "Anmelden", "forgotPwd": "Haben Sie Ihr Passwort vergessen?", "dontHaveAccount": "Sie haben kein Konto?", + "dontHaveAccountMobile": "Sie haben kein Internxt-Konto?", "createAccount": "Konto erstellen", "2FA": "Zwei-Faktor-Code", "twoFactorAuthenticationCode": "Zwei-Faktor-Authentifizierungscode", "wrongLogin": "Ungültiger Benutzername oder Passwort", "failedToSendAuthData": "Fehler beim Senden der Authentifizierungsdaten. Bitte versuchen Sie es erneut." }, + "button": { + "loginAction": "Anmelden" + }, "signup": { "title": "Konto erstellen", "haveAccount": "Haben Sie bereits ein Konto?", + "haveAccountMobile": "Haben Sie bereits ein Internxt-Konto?", "login": "Anmelden", "encrypting": "Verschlüsselung im Gange", "info": { diff --git a/src/app/i18n/locales/en.json b/src/app/i18n/locales/en.json index 10465c8282..a76f386ebe 100644 --- a/src/app/i18n/locales/en.json +++ b/src/app/i18n/locales/en.json @@ -101,19 +101,24 @@ "terms2": "you accept the terms & conditions", "decrypting": "Decrypting...", "login": { - "title": "Log in", + "title": "Login", "forgotPwd": "Forgot your password?", - "dontHaveAccount": "Don’t have an account?", + "dontHaveAccount": "Don't have an account?", + "dontHaveAccountMobile": "Don't have an Internxt account?", "createAccount": "Create account", "2FA": "Two factor code", "twoFactorAuthenticationCode": "Two factor authentication code", "wrongLogin": "Invalid username or password", "failedToSendAuthData": "Failed to send authentication data. Please try again." }, + "button": { + "loginAction": "Log in" + }, "signup": { "title": "Create account", "haveAccount": "Already have an account?", - "login": "Log in", + "haveAccountMobile": "Already have an Internxt account?", + "login": "Login", "encrypting": "Encrypting", "info": { "normalText": "Internxt doesn’t store passwords.", @@ -244,7 +249,7 @@ }, "title": { "signUp": "Create an account", - "signIn": "Log in", + "signIn": "Login", "userIsSignedIn": "User signed in as" }, "emailMustNotBeEmpty": "Email must not be empty", diff --git a/src/app/i18n/locales/es.json b/src/app/i18n/locales/es.json index ca0c96ed54..3d38f03105 100644 --- a/src/app/i18n/locales/es.json +++ b/src/app/i18n/locales/es.json @@ -83,15 +83,20 @@ "title": "Iniciar Sesión", "forgotPwd": "¿Olvidaste tu contraseña?", "dontHaveAccount": "¿No tienes cuenta?", + "dontHaveAccountMobile": "¿No tienes cuenta de Internxt?", "createAccount": "Crear cuenta", "2FA": "Código de dos factores", "twoFactorAuthenticationCode": "Código de autenticación de dos factores", "wrongLogin": "Nombre de usuario o contraseña no válidos", "failedToSendAuthData": "Error al enviar datos de autenticación. Por favor, inténtalo de nuevo." }, + "button": { + "loginAction": "Iniciar sesión" + }, "signup": { "title": "Crear cuenta", "haveAccount": "¿Ya tienes una cuenta?", + "haveAccountMobile": "¿Ya tienes una cuenta de Internxt?", "login": "Iniciar sesión", "encrypting": "Cifrando", "info": { diff --git a/src/app/i18n/locales/fr.json b/src/app/i18n/locales/fr.json index 26faa6331a..4c05922941 100644 --- a/src/app/i18n/locales/fr.json +++ b/src/app/i18n/locales/fr.json @@ -83,15 +83,20 @@ "title": " Connexion ", "forgotPwd": "Mot de passe oublié?", "dontHaveAccount": "Vous n'avez pas de compte ?", + "dontHaveAccountMobile": "Vous n'avez pas de compte Internxt ?", "createAccount": "Créer un compte", "2FA": "Code à deux facteurs", "twoFactorAuthenticationCode": "Code d'authentification à deux facteurs", "wrongLogin": "Nom d'utilisateur ou mot de passe invalide", "failedToSendAuthData": "Échec de l'envoi des données d'authentification. Veuillez réessayer." }, + "button": { + "loginAction": "Se connecter" + }, "signup": { "title": "Créer un compte", "haveAccount": "Vous avez déjà un compte ?", + "haveAccountMobile": "Vous avez déjà un compte Internxt ?", "login": " Connexion ", "encrypting": "Encryptant", "info": { diff --git a/src/app/i18n/locales/it.json b/src/app/i18n/locales/it.json index 40ad67861e..2aaa139db4 100644 --- a/src/app/i18n/locales/it.json +++ b/src/app/i18n/locales/it.json @@ -104,15 +104,20 @@ "title": "Accedere", "forgotPwd": "Hai dimenticato la password?", "dontHaveAccount": "Non hai un account?", + "dontHaveAccountMobile": "Non hai un account Internxt?", "createAccount": "Creare un account", "2FA": "Codice a due fattori", "twoFactorAuthenticationCode": "Codice di autenticazione a due fattori", "wrongLogin": "Nome utente o password non validi", "failedToSendAuthData": "Impossibile inviare i dati di autenticazione. Riprova." }, + "button": { + "loginAction": "Accedi" + }, "signup": { "title": "Creare un account", "haveAccount": "Hai già un account?", + "haveAccountMobile": "Hai già un account Internxt?", "login": "Accedi", "encrypting": "Crittografia in corso", "info": { diff --git a/src/app/i18n/locales/ru.json b/src/app/i18n/locales/ru.json index a15c66cf0b..b5197f3087 100644 --- a/src/app/i18n/locales/ru.json +++ b/src/app/i18n/locales/ru.json @@ -83,15 +83,20 @@ "title": "Войти", "forgotPwd": "Забыли пароль?", "dontHaveAccount": "У вас нет учетной записи?", + "dontHaveAccountMobile": "У вас нет учетной записи Internxt?", "createAccount": "Создать учетную запись", "2FA": "Двухфакторный код", "twoFactorAuthenticationCode": "Код двухфакторной аутентификации", "wrongLogin": "Неверное имя пользователя или пароль", "failedToSendAuthData": "Не удалось отправить данные аутентификации. Пожалуйста, попробуйте еще раз." }, + "button": { + "loginAction": "Войти" + }, "signup": { "title": "Создать учетную запись", "haveAccount": "Уже есть аккаунт?", + "haveAccountMobile": "Уже есть аккаунт Internxt?", "login": "Войти", "encrypting": "Идет шифрование", "info": { diff --git a/src/app/i18n/locales/tw.json b/src/app/i18n/locales/tw.json index e65d08a474..41d3201328 100644 --- a/src/app/i18n/locales/tw.json +++ b/src/app/i18n/locales/tw.json @@ -103,15 +103,20 @@ "title": "登錄", "forgotPwd": "忘記密碼?", "dontHaveAccount": "沒有帳戶?", + "dontHaveAccountMobile": "沒有 Internxt 帳戶?", "createAccount": "創建帳戶", "2FA": "雙重身份驗證代碼", "twoFactorAuthenticationCode": "雙重身份驗證代碼", "wrongLogin": "使用者名稱或密碼無效", "failedToSendAuthData": "無法發送身份驗證數據。請重試。" }, + "button": { + "loginAction": "登錄" + }, "signup": { "title": "創建帳戶", "haveAccount": "已有帳戶?", + "haveAccountMobile": "已有 Internxt 帳戶?", "login": "登錄", "encrypting": "加密中", "info": { diff --git a/src/app/i18n/locales/zh.json b/src/app/i18n/locales/zh.json index e3cb6af9b9..e6cc7677eb 100644 --- a/src/app/i18n/locales/zh.json +++ b/src/app/i18n/locales/zh.json @@ -101,15 +101,20 @@ "title": "登录", "forgotPwd": "忘记密码了?", "dontHaveAccount": "没有账户?", + "dontHaveAccountMobile": "没有 Internxt 账户?", "createAccount": "创建账户", "2FA": "双因素代码", "twoFactorAuthenticationCode": "双因素验证码", "wrongLogin": "用户名或密码无效", "failedToSendAuthData": "发送身份验证数据失败。请重试。" }, + "button": { + "loginAction": "登录" + }, "signup": { "title": "创建账户", "haveAccount": "已有账户?", + "haveAccountMobile": "已有 Internxt 账户?", "login": "登录", "encrypting": "加密中", "info": { diff --git a/src/index.scss b/src/index.scss index 65a3b40fff..ac63ca8fd0 100644 --- a/src/index.scss +++ b/src/index.scss @@ -393,3 +393,21 @@ abbr[title] { .text-ellipsis { text-overflow: ellipsis; } + +@media (width <= 639px) { + .bg-login-gradient { + background: linear-gradient(180deg, rgb(249 249 252 / 0%) 0%, #f9f9fc 100%); + } + + .dark .bg-login-gradient { + background: linear-gradient(180deg, #1c1c1c 0%, #031632 100%); + } +} + +.auth-footer-link { + @apply font-medium text-base no-underline text-primary hover:text-primary-dark; + + @media (width >= 640px) { + @apply text-gray-80 hover:text-gray-100; + } +} diff --git a/src/views/Login/RecoveryLinkView.tsx b/src/views/Login/RecoveryLinkView.tsx index dc331fcba8..8acf1407b7 100644 --- a/src/views/Login/RecoveryLinkView.tsx +++ b/src/views/Login/RecoveryLinkView.tsx @@ -5,7 +5,7 @@ import { RecoveryLink } from './components'; function RecoveryLinkView(): JSX.Element { const { translate } = useTranslationContext(); return ( -
{translate('auth.login.dontHaveAccountMobile')}
+ + + +