diff --git a/new-lamassu-admin/src/components/typography/styles.js b/new-lamassu-admin/src/components/typography/styles.js
index 1a61c942..44cfac11 100644
--- a/new-lamassu-admin/src/components/typography/styles.js
+++ b/new-lamassu-admin/src/components/typography/styles.js
@@ -8,7 +8,7 @@ import {
fontPrimary,
fontSecondary,
fontMonospaced,
- fontSize2FA
+ codeInputFontSize
} from 'src/styling/variables'
const base = {
@@ -128,7 +128,7 @@ export default {
},
confirmationCode: {
extend: base,
- fontSize: fontSize2FA,
+ fontSize: codeInputFontSize,
fontFamily: fontPrimary,
fontWeight: 900
},
diff --git a/new-lamassu-admin/src/pages/Authentication/Input2FAState.js b/new-lamassu-admin/src/pages/Authentication/Input2FAState.js
index 2c779de7..70fe8691 100644
--- a/new-lamassu-admin/src/pages/Authentication/Input2FAState.js
+++ b/new-lamassu-admin/src/pages/Authentication/Input2FAState.js
@@ -7,9 +7,9 @@ import { useHistory } from 'react-router-dom'
import AppContext from 'src/AppContext'
import { Button } from 'src/components/buttons'
import { CodeInput } from 'src/components/inputs/base'
-import { H2, P } from 'src/components/typography'
+import { TL1, P } from 'src/components/typography'
-import styles from './Login.styles'
+import styles from './shared.styles'
import { STATES } from './states'
const useStyles = makeStyles(styles)
@@ -99,9 +99,9 @@ const Input2FAState = ({ state, dispatch }) => {
return (
<>
-
+
Enter your two-factor authentication code
-
+
{
-
Lamassu Admin
+ Lamassu Admin
{renderState()}
diff --git a/new-lamassu-admin/src/pages/Authentication/LoginState.js b/new-lamassu-admin/src/pages/Authentication/LoginState.js
index 4ec034e8..ad84df03 100644
--- a/new-lamassu-admin/src/pages/Authentication/LoginState.js
+++ b/new-lamassu-admin/src/pages/Authentication/LoginState.js
@@ -7,9 +7,9 @@ import * as Yup from 'yup'
import { Button } from 'src/components/buttons'
import { Checkbox, SecretInput, TextInput } from 'src/components/inputs/formik'
-import { Label2, P } from 'src/components/typography'
+import { Label3, P } from 'src/components/typography'
-import styles from './Login.styles'
+import styles from './shared.styles'
import { STATES } from './states'
const useStyles = makeStyles(styles)
@@ -104,7 +104,7 @@ const LoginState = ({ state, dispatch }) => {
className={classes.checkbox}
component={Checkbox}
/>
- Keep me logged in
+ Keep me logged in
{getErrorMsg(errors, touched) && (
diff --git a/new-lamassu-admin/src/pages/Authentication/Register.js b/new-lamassu-admin/src/pages/Authentication/Register.js
index fe6e338c..f529d93c 100644
--- a/new-lamassu-admin/src/pages/Authentication/Register.js
+++ b/new-lamassu-admin/src/pages/Authentication/Register.js
@@ -9,10 +9,10 @@ import * as Yup from 'yup'
import { Button } from 'src/components/buttons'
import { SecretInput } from 'src/components/inputs/formik'
-import { H2, Label2, P } from 'src/components/typography'
+import { H2, Label3, P } from 'src/components/typography'
import { ReactComponent as Logo } from 'src/styling/icons/menu/logo.svg'
-import styles from './Login.styles'
+import styles from './shared.styles'
const QueryParams = () => new URLSearchParams(useLocation().search)
const useStyles = makeStyles(styles)
@@ -178,9 +178,7 @@ const Register = () => {
)}
{!loading && !state.wasSuccessful && (
<>
-
- Link has expired
-
+ Link has expired
>
)}
diff --git a/new-lamassu-admin/src/pages/Authentication/Reset2FA.js b/new-lamassu-admin/src/pages/Authentication/Reset2FA.js
index 35fcd7a1..f54b8b6d 100644
--- a/new-lamassu-admin/src/pages/Authentication/Reset2FA.js
+++ b/new-lamassu-admin/src/pages/Authentication/Reset2FA.js
@@ -8,11 +8,11 @@ import { useLocation, useHistory } from 'react-router-dom'
import { ActionButton, Button } from 'src/components/buttons'
import { CodeInput } from 'src/components/inputs/base'
-import { H2, Label2, P } from 'src/components/typography'
+import { H2, Label2, Label3, P } from 'src/components/typography'
import { ReactComponent as Logo } from 'src/styling/icons/menu/logo.svg'
import { primaryColor } from 'src/styling/variables'
-import styles from './Login.styles'
+import styles from './shared.styles'
const QueryParams = () => new URLSearchParams(useLocation().search)
const useStyles = makeStyles(styles)
@@ -174,9 +174,7 @@ const Reset2FA = () => {
)}
{!isLoading && !wasSuccessful && (
<>
-
- Link has expired
-
+ Link has expired
>
)}
diff --git a/new-lamassu-admin/src/pages/Authentication/ResetPassword.js b/new-lamassu-admin/src/pages/Authentication/ResetPassword.js
index 47791b5e..40e79832 100644
--- a/new-lamassu-admin/src/pages/Authentication/ResetPassword.js
+++ b/new-lamassu-admin/src/pages/Authentication/ResetPassword.js
@@ -9,10 +9,10 @@ import * as Yup from 'yup'
import { Button } from 'src/components/buttons'
import { SecretInput } from 'src/components/inputs/formik/'
-import { H2, Label2, P } from 'src/components/typography'
+import { H2, Label3, P } from 'src/components/typography'
import { ReactComponent as Logo } from 'src/styling/icons/menu/logo.svg'
-import styles from './Login.styles'
+import styles from './shared.styles'
const QueryParams = () => new URLSearchParams(useLocation().search)
const useStyles = makeStyles(styles)
@@ -157,9 +157,7 @@ const ResetPassword = () => {
)}
{!isLoading && !wasSuccessful && (
<>
-
- Link has expired
-
+ Link has expired
>
)}
diff --git a/new-lamassu-admin/src/pages/Authentication/Setup2FAState.js b/new-lamassu-admin/src/pages/Authentication/Setup2FAState.js
index de9b4a1e..c2ee109f 100644
--- a/new-lamassu-admin/src/pages/Authentication/Setup2FAState.js
+++ b/new-lamassu-admin/src/pages/Authentication/Setup2FAState.js
@@ -8,10 +8,10 @@ import { useHistory } from 'react-router-dom'
import AppContext from 'src/AppContext'
import { ActionButton, Button } from 'src/components/buttons'
import { CodeInput } from 'src/components/inputs/base'
-import { Label2, P } from 'src/components/typography'
+import { Label3, P } from 'src/components/typography'
import { primaryColor } from 'src/styling/variables'
-import styles from './Login.styles'
+import styles from './shared.styles'
const SETUP_2FA = gql`
mutation setup2FA(
@@ -103,25 +103,25 @@ const Setup2FAState = ({ state, dispatch }) => {
otpauth && (
<>
-
+
We detected that this account does not have its two-factor
authentication enabled. In order to protect the resources in the
system, a two-factor authentication is enforced.
-
-
+
+
To finish this process, please scan the following QR code or insert
the secret further below on an authentication app of your choice,
such as Google Authenticator or Authy.
-
+
-
Your secret:
-
+ Your secret:
+
{secret}
-
+