Merge pull request #5 from MyEtherWallet/help_view

Help view
This commit is contained in:
Daniel Ternyak 2017-05-25 01:39:20 -05:00 committed by GitHub
commit a3bcea69c8
3 changed files with 31 additions and 1 deletions

View File

@ -23,7 +23,8 @@ const tabs = [
link: 'view-wallet' link: 'view-wallet'
}, },
{ {
name: 'Help' name: '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 {App} from "containers";
import GenerateWallet from "containers/Tabs/GenerateWallet" import GenerateWallet from "containers/Tabs/GenerateWallet"
import ViewWallet from "containers/Tabs/ViewWallet" import ViewWallet from "containers/Tabs/ViewWallet"
import Help from "containers/Tabs/Help"
export const history = getHistory() export const history = getHistory()
@ -11,6 +12,7 @@ export const Routing = () => (
<Route name="App" path='' component={App}> <Route name="App" path='' component={App}>
<Route name="GenerateWallet" path="/" component={GenerateWallet}/> <Route name="GenerateWallet" path="/" component={GenerateWallet}/>
<Route name="ViewWallet" path="/view-wallet" component={ViewWallet}/> <Route name="ViewWallet" path="/view-wallet" component={ViewWallet}/>
<Route name="Help" path="/help" component={Help}/>
<Redirect from="/*" to="/"/> <Redirect from="/*" to="/"/>
</Route> </Route>