1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge pull request #1570 from MetaMask/addfaq

Modify FAQ to be more visible.
This commit is contained in:
Dan Finlay 2017-06-12 10:36:16 -07:00 committed by GitHub
commit 7057c24471
2 changed files with 10 additions and 11 deletions

View File

@ -341,7 +341,7 @@ App.prototype.renderDropdown = function () {
}), }),
h(DropMenuItem, { h(DropMenuItem, {
label: 'Info', label: 'Info/Help',
closeMenu: () => this.setState({ isMainMenuOpen: !isOpen }), closeMenu: () => this.setState({ isMainMenuOpen: !isOpen }),
action: () => this.props.dispatch(actions.showInfoPage()), action: () => this.props.dispatch(actions.showInfoPage()),
icon: h('i.fa.fa-question.fa-lg'), icon: h('i.fa.fa-question.fa-lg'),

View File

@ -52,7 +52,7 @@ InfoScreen.prototype.render = function () {
h('div', { h('div', {
style: { style: {
marginBottom: '10px', marginBottom: '5px',
}}, }},
[ [
h('div', [ h('div', [
@ -87,7 +87,7 @@ InfoScreen.prototype.render = function () {
h('hr', { h('hr', {
style: { style: {
margin: '20px 0 ', margin: '10px 0 ',
width: '7em', width: '7em',
}, },
}), }),
@ -97,6 +97,13 @@ InfoScreen.prototype.render = function () {
paddingLeft: '30px', 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('div', [
h('a', { h('a', {
href: 'https://metamask.io/', href: 'https://metamask.io/',
@ -138,14 +145,6 @@ InfoScreen.prototype.render = function () {
onClick () { this.navigateTo('mailto:help@metamask.io?subject=Feedback') }, onClick () { this.navigateTo('mailto:help@metamask.io?subject=Feedback') },
}, 'Email us!'), }, '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'),
]),
]), ]),
]), ]),
]), ]),