aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-14 01:49:20 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-14 01:49:20 +0800
commit53995463883c062157a3d725e7cb8fe54486badb (patch)
tree58b964ad64bbec2227bc781e6d5937d343e78494
parent82a93bb2872809df19744afdd95c68485c0dcd25 (diff)
downloadtangerine-wallet-browser-53995463883c062157a3d725e7cb8fe54486badb.tar.gz
tangerine-wallet-browser-53995463883c062157a3d725e7cb8fe54486badb.tar.zst
tangerine-wallet-browser-53995463883c062157a3d725e7cb8fe54486badb.zip
added affiliate link to trezor
-rw-r--r--app/_locales/en/messages.json3
-rw-r--r--ui/app/components/pages/create-account/connect-hardware/connect-screen.js6
-rw-r--r--ui/app/css/itcss/components/new-account.scss16
3 files changed, 25 insertions, 0 deletions
diff --git a/app/_locales/en/messages.json b/app/_locales/en/messages.json
index c40a8c3b6..b8b9d9c1c 100644
--- a/app/_locales/en/messages.json
+++ b/app/_locales/en/messages.json
@@ -407,6 +407,9 @@
"message": "Get Ether from a faucet for the $1",
"description": "Displays network name for Ether faucet"
},
+ "getYourTrezor": {
+ "message": "Don't have a TREZOR hardware wallet? Order yours now!"
+ },
"greaterThanMin": {
"message": "must be greater than or equal to $1.",
"description": "helper for inputting hex as decimal input"
diff --git a/ui/app/components/pages/create-account/connect-hardware/connect-screen.js b/ui/app/components/pages/create-account/connect-hardware/connect-screen.js
index 0dd8e285b..8d9980b10 100644
--- a/ui/app/components/pages/create-account/connect-hardware/connect-screen.js
+++ b/ui/app/components/pages/create-account/connect-hardware/connect-screen.js
@@ -46,6 +46,12 @@ class ConnectScreen extends Component {
{ onClick: this.props.connectToTrezor.bind(this) },
this.props.btnText
),
+ h('div.hw-connect__get-trezor', {}, [
+ h('a', {
+ href: 'https://shop.trezor.io/?a=metamask',
+ target: '_blank',
+ }, this.context.t('getYourTrezor')),
+ ]),
])
)
}
diff --git a/ui/app/css/itcss/components/new-account.scss b/ui/app/css/itcss/components/new-account.scss
index e11c10dfe..4552f0bf2 100644
--- a/ui/app/css/itcss/components/new-account.scss
+++ b/ui/app/css/itcss/components/new-account.scss
@@ -169,6 +169,21 @@
&__link {
color: #2f9ae0;
}
+
+ &__get-trezor {
+ display: flex;
+ flex-flow: column;
+ align-items: center;
+ padding: 30px 30px 0;
+ width: 305px;
+
+ a {
+ font-size: 14px;
+ text-align: center;
+ color: #2f9ae0;
+ cursor: pointer;
+ }
+ }
}
.hw-account-list {
@@ -278,6 +293,7 @@
a {
color: #2f9ae0;
+ font-size: 14px;
cursor: pointer;
}
}