added affiliate link to trezor

This commit is contained in:
brunobar79 2018-07-13 13:49:20 -04:00
parent 82a93bb287
commit 5399546388
3 changed files with 25 additions and 0 deletions

View File

@ -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"

View File

@ -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')),
]),
])
)
}

View File

@ -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;
}
}