Merge branch 'develop' into feat/translations

This commit is contained in:
crptm 2017-05-25 10:06:53 +00:00 committed by GitHub
commit bb99a6f0b2
3 changed files with 31 additions and 1 deletions

View File

@ -24,7 +24,8 @@ const tabs = [
link: 'view-wallet'
},
{
name: 'NAV_Help'
name: 'NAV_Help',
link: 'help'
}
]

View File

@ -0,0 +1,27 @@
import React from "react";
const Help = () => (
<section className="container" style={{minHeight: '50%'}}>
<div className="tab-content">
<article className="tab-pane help active">
<h1 translate="NAV_Help">Help</h1>
<article className="collapse-container">
<div>
<ul>
<li><h3><a
href="https://www.reddit.com/r/ethereum/comments/47nkoi/psa_check_your_ethaddressorg_wallets_and_any/d0eo45o"
target="_blank"><span className="text-danger" translate="HELP_Warning">If you created a wallet -or- downloaded the repo before <strong>Dec. 31st, 2015</strong>, please check your wallets &amp;
download a new version of the repo. Click for details.</span></a></h3></li>
<li><h3>This
page is deprecated. Please check out our more up-to-date and
searchable <a href="https://myetherwallet.groovehq.com/help_center" target="_blank">Knowledge
Base. </a></h3></li>
</ul>
</div>
</article>
</article>
</div>
</section>
);
export default Help

View File

@ -4,6 +4,7 @@ import {useBasename} from "history";
import {App} from "containers";
import GenerateWallet from "containers/Tabs/GenerateWallet"
import ViewWallet from "containers/Tabs/ViewWallet"
import Help from "containers/Tabs/Help"
export const history = getHistory()
@ -11,6 +12,7 @@ export const Routing = () => (
<Route name="App" path='' component={App}>
<Route name="GenerateWallet" path="/" component={GenerateWallet}/>
<Route name="ViewWallet" path="/view-wallet" component={ViewWallet}/>
<Route name="Help" path="/help" component={Help}/>
<Redirect from="/*" to="/"/>
</Route>