added affiliate link to trezor

feature/default_network_editable
brunobar79 6 years ago
parent 82a93bb287
commit 5399546388
  1. 3
      app/_locales/en/messages.json
  2. 6
      ui/app/components/pages/create-account/connect-hardware/connect-screen.js
  3. 16
      ui/app/css/itcss/components/new-account.scss

@ -407,6 +407,9 @@
"message": "Get Ether from a faucet for the $1", "message": "Get Ether from a faucet for the $1",
"description": "Displays network name for Ether faucet" "description": "Displays network name for Ether faucet"
}, },
"getYourTrezor": {
"message": "Don't have a TREZOR hardware wallet? Order yours now!"
},
"greaterThanMin": { "greaterThanMin": {
"message": "must be greater than or equal to $1.", "message": "must be greater than or equal to $1.",
"description": "helper for inputting hex as decimal input" "description": "helper for inputting hex as decimal input"

@ -46,6 +46,12 @@ class ConnectScreen extends Component {
{ onClick: this.props.connectToTrezor.bind(this) }, { onClick: this.props.connectToTrezor.bind(this) },
this.props.btnText this.props.btnText
), ),
h('div.hw-connect__get-trezor', {}, [
h('a', {
href: 'https://shop.trezor.io/?a=metamask',
target: '_blank',
}, this.context.t('getYourTrezor')),
]),
]) ])
) )
} }

@ -169,6 +169,21 @@
&__link { &__link {
color: #2f9ae0; 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 { .hw-account-list {
@ -278,6 +293,7 @@
a { a {
color: #2f9ae0; color: #2f9ae0;
font-size: 14px;
cursor: pointer; cursor: pointer;
} }
} }

Loading…
Cancel
Save