Modify FAQ to be more visible.

feature/default_network_editable
Kevin Serrano 8 years ago
parent 29c7739efc
commit a37c8f3ed0
No known key found for this signature in database
GPG Key ID: BF999DEFC7371BA1
  1. 2
      ui/app/app.js
  2. 19
      ui/app/info.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'),

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

Loading…
Cancel
Save