Modify FAQ to be more visible.

This commit is contained in:
Kevin Serrano 2017-06-08 16:02:23 -07:00
parent 29c7739efc
commit a37c8f3ed0
No known key found for this signature in database
GPG Key ID: BF999DEFC7371BA1
2 changed files with 10 additions and 11 deletions

View File

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

View File

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