diff options
author | Dan Finlay <flyswatter@users.noreply.github.com> | 2017-06-13 01:36:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-13 01:36:16 +0800 |
commit | 7057c24471059505ae930f4a81fd24e2120c189b (patch) | |
tree | 9721b3e82a19f262e6cfd19a0fed5c7b5d7c8603 | |
parent | 2e6e6e41250011b451412608e455fe6402634729 (diff) | |
parent | a37c8f3ed07d62948f26444ddce6ac148ed6e458 (diff) | |
download | tangerine-wallet-browser-7057c24471059505ae930f4a81fd24e2120c189b.tar tangerine-wallet-browser-7057c24471059505ae930f4a81fd24e2120c189b.tar.gz tangerine-wallet-browser-7057c24471059505ae930f4a81fd24e2120c189b.tar.bz2 tangerine-wallet-browser-7057c24471059505ae930f4a81fd24e2120c189b.tar.lz tangerine-wallet-browser-7057c24471059505ae930f4a81fd24e2120c189b.tar.xz tangerine-wallet-browser-7057c24471059505ae930f4a81fd24e2120c189b.tar.zst tangerine-wallet-browser-7057c24471059505ae930f4a81fd24e2120c189b.zip |
Merge pull request #1570 from MetaMask/addfaq
Modify FAQ to be more visible.
-rw-r--r-- | ui/app/app.js | 2 | ||||
-rw-r--r-- | ui/app/info.js | 19 |
2 files changed, 10 insertions, 11 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 6e5aa57cd..53dbc3354 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -341,7 +341,7 @@ App.prototype.renderDropdown = function () { }), h(DropMenuItem, { - label: 'Info', + label: 'Info/Help', closeMenu: () => this.setState({ isMainMenuOpen: !isOpen }), action: () => this.props.dispatch(actions.showInfoPage()), icon: h('i.fa.fa-question.fa-lg'), diff --git a/ui/app/info.js b/ui/app/info.js index a6fdeb315..aa4503b62 100644 --- a/ui/app/info.js +++ b/ui/app/info.js @@ -52,7 +52,7 @@ InfoScreen.prototype.render = function () { h('div', { style: { - marginBottom: '10px', + marginBottom: '5px', }}, [ h('div', [ @@ -87,7 +87,7 @@ InfoScreen.prototype.render = function () { h('hr', { style: { - margin: '20px 0 ', + margin: '10px 0 ', width: '7em', }, }), @@ -97,6 +97,13 @@ InfoScreen.prototype.render = function () { paddingLeft: '30px', }}, [ + h('div.fa.fa-github', [ + h('a.info', { + href: 'https://github.com/MetaMask/faq', + target: '_blank', + onClick (event) { this.navigateTo(event.target.href) }, + }, 'Need Help? Read our FAQ!'), + ]), h('div', [ h('a', { href: 'https://metamask.io/', @@ -138,14 +145,6 @@ InfoScreen.prototype.render = function () { onClick () { this.navigateTo('mailto:help@metamask.io?subject=Feedback') }, }, 'Email us!'), ]), - - h('div.fa.fa-github', [ - h('a.info', { - href: 'https://github.com/MetaMask/metamask-plugin/issues', - target: '_blank', - onClick (event) { this.navigateTo(event.target.href) }, - }, 'Start a thread on GitHub'), - ]), ]), ]), ]), |