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

Add relevant legal links to help page.

This commit is contained in:
Kevin Serrano 2016-10-04 21:46:33 -07:00
parent 9b61978738
commit f7714412e5
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4

View File

@ -56,6 +56,41 @@ InfoScreen.prototype.render = function () {
}, `Version: ${manifest.version}`), }, `Version: ${manifest.version}`),
]), ]),
h('div', {
style: {
marginBottom: '10px',
}},
[
h('div', [
h('a', {
href: 'https://metamask.io/privacy.html',
target: '_blank',
onClick (event) { this.navigateTo(event.target.href) },
}, [
h('div.info', 'Privacy Policy'),
]),
]),
h('div', [
h('a', {
href: 'https://metamask.io/terms.html',
target: '_blank',
onClick (event) { this.navigateTo(event.target.href) },
}, [
h('div.info', 'Terms of Use'),
]),
]),
h('div', [
h('a', {
href: 'https://metamask.io/attributions.html',
target: '_blank',
onClick (event) { this.navigateTo(event.target.href) },
}, [
h('div.info', 'Attributions'),
]),
]),
]
),
h('hr', { h('hr', {
style: { style: {
margin: '20px 0 ', margin: '20px 0 ',
@ -63,12 +98,6 @@ InfoScreen.prototype.render = function () {
}, },
}), }),
h('.info',
`For more information on MetaMask
you can visit our web site. If you want to
contact us with questions or just
say 'Hi', you can find us on these platforms:`),
h('div', { h('div', {
style: { style: {
paddingLeft: '30px', paddingLeft: '30px',
@ -82,6 +111,10 @@ InfoScreen.prototype.render = function () {
}, [ }, [
h('img.icon-size', { h('img.icon-size', {
src: manifest.icons[128], src: manifest.icons[128],
style: {
filter: "grayscale(100%)", /* IE6-9 */
WebkitFilter: "grayscale(100%)", /* Microsoft Edge and Firefox 35+ */
}
}), }),
h('div.info', 'Visit our web site'), h('div.info', 'Visit our web site'),
]), ]),
@ -107,7 +140,7 @@ InfoScreen.prototype.render = function () {
target: '_blank', target: '_blank',
style: { width: '85vw' }, style: { width: '85vw' },
onClick () { extension.tabs.create({url: 'mailto:help@metamask.io?subject=Feedback'}) }, onClick () { extension.tabs.create({url: 'mailto:help@metamask.io?subject=Feedback'}) },
}, 'Email us any questions or comments!'), }, 'Email us!'),
]), ]),
h('div.fa.fa-github', [ h('div.fa.fa-github', [
@ -115,7 +148,7 @@ InfoScreen.prototype.render = function () {
href: 'https://github.com/metamask/talk/issues', href: 'https://github.com/metamask/talk/issues',
target: '_blank', target: '_blank',
onClick (event) { this.navigateTo(event.target.href) }, onClick (event) { this.navigateTo(event.target.href) },
}, 'Start a thread on Github'), }, 'Start a thread on GitHub'),
]), ]),
]), ]),
]), ]),