diff --git a/app/routes.js b/app/routes.js index ab92d615..5e3bb10b 100644 --- a/app/routes.js +++ b/app/routes.js @@ -3,10 +3,12 @@ import React from 'react' import { Switch, Route } from 'react-router' import App from './routes/app' import Activity from './routes/activity' +import Wallet from './routes/wallet' export default () => ( + diff --git a/app/routes/app/components/App.js b/app/routes/app/components/App.js index ac5e5c2b..cd853331 100644 --- a/app/routes/app/components/App.js +++ b/app/routes/app/components/App.js @@ -29,7 +29,8 @@ class App extends Component { payInvoice, children } = this.props - + + console.log('children: ', this.props.children) return (
diff --git a/app/routes/app/components/components/Nav.scss b/app/routes/app/components/components/Nav.scss index cabe12d3..140fabbd 100644 --- a/app/routes/app/components/components/Nav.scss +++ b/app/routes/app/components/components/Nav.scss @@ -70,13 +70,14 @@ margin: 0 auto; .link { + color: $main; margin-bottom: 20px; padding: 0 10px; opacity: 0.5; cursor: pointer; + text-decoration: none; - &:first-child { - color: $main; + &.active { opacity: 1.0; } diff --git a/app/routes/wallet/components/Wallet.js b/app/routes/wallet/components/Wallet.js new file mode 100644 index 00000000..2c29b932 --- /dev/null +++ b/app/routes/wallet/components/Wallet.js @@ -0,0 +1,16 @@ +// @flow +import React, { Component } from 'react' +import styles from './Wallet.scss' + +class Wallet extends Component { + render() { + return ( +
+ Wallet +
+ ) + } +} + + +export default Wallet \ No newline at end of file diff --git a/app/routes/wallet/components/Wallet.scss b/app/routes/wallet/components/Wallet.scss new file mode 100644 index 00000000..e69de29b diff --git a/app/routes/wallet/containers/WalletContainer.js b/app/routes/wallet/containers/WalletContainer.js new file mode 100644 index 00000000..9bc09595 --- /dev/null +++ b/app/routes/wallet/containers/WalletContainer.js @@ -0,0 +1,8 @@ +import { connect } from 'react-redux' +import Wallet from '../components/Wallet' + +const mapDispatchToProps = {} + +const mapStateToProps = (state) => ({}) + +export default connect(mapStateToProps, mapDispatchToProps)(Wallet) \ No newline at end of file diff --git a/app/routes/wallet/index.js b/app/routes/wallet/index.js new file mode 100644 index 00000000..267435d4 --- /dev/null +++ b/app/routes/wallet/index.js @@ -0,0 +1,3 @@ +import WalletContainer from './containers/WalletContainer' + +export default WalletContainer \ No newline at end of file