diff --git a/src/common/components/login/index.tsx b/src/common/components/login/index.tsx index d0b49c20193..129346f7d08 100644 --- a/src/common/components/login/index.tsx +++ b/src/common/components/login/index.tsx @@ -600,6 +600,9 @@ export class Login extends BaseComponent { const keyChainLogo = global.isElectron ? "./img/keychain.png" : require("../../img/keychain.png"); + const hiveAuthLogo = global.isElectron + ? "./img/hive-auth.jpeg" + : require("../../img/hive-auth.jpeg"); const spinner = ( { })} - {/* */} )} - {/*
{ - e.preventDefault(); - }} - > -

{_t("login.with-user-pass")}

- - - - - - -

- {_t("login.login-info-1")}{" "} - - {_t("login.login-info-2")} - -

- -
*/} - - {/*
- + + */} + + + + + +
+ + + {/* {global.hasKeyChain && ( */}
Make sure you have keychain installed! Don't have keychain? download here
-
{/* )} */} diff --git a/src/common/components/or-divider/_index.scss b/src/common/components/or-divider/_index.scss index 6e4cfd5fed7..007fbf16f30 100644 --- a/src/common/components/or-divider/_index.scss +++ b/src/common/components/or-divider/_index.scss @@ -11,7 +11,7 @@ .or-divider::before, .or-divider::after { position: absolute; - width: 130px; + width: 80px; height: 1px; top: 24px; background-color: $white-four; diff --git a/src/common/components/or-divider/index.tsx b/src/common/components/or-divider/index.tsx index 472f85b2a33..6be0dfa9e86 100644 --- a/src/common/components/or-divider/index.tsx +++ b/src/common/components/or-divider/index.tsx @@ -1,13 +1,17 @@ -import React, {Component} from "react"; -import {_t} from "../../i18n"; +import React, { Component } from "react"; -export default class OrDivider extends Component { +interface OrDividerProps { + text: string; +} + +class OrDivider extends Component { render() { + const { text } = this.props; return ( - <> -
{_t("g.or")}
- +
{text}
); } } + +export default OrDivider; diff --git a/src/common/i18n/locales/en-US.json b/src/common/i18n/locales/en-US.json index 85f801b32b7..48f14255e3c 100644 --- a/src/common/i18n/locales/en-US.json +++ b/src/common/i18n/locales/en-US.json @@ -154,6 +154,7 @@ "error-authenticate": "Wrong private key. Master or active or posting private key required.", "with-hive-signer": "Login with hivesigner", "with-keychain": "Login with keychain", + "with-hive-auth": "Login with HiveAuth", "sign-up-text-1": "Don't have an account?", "sign-up-text-2": "Sign up now!" }, diff --git a/src/common/img/hive-auth.jpeg b/src/common/img/hive-auth.jpeg new file mode 100644 index 00000000000..a242fcfbece Binary files /dev/null and b/src/common/img/hive-auth.jpeg differ