diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-06-02 11:56:50 -0400 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-06-02 11:56:50 -0400 |
| commit | f148ecd6dffb0e631ae084b96b09a45119007a76 (patch) | |
| tree | 0e9c07fb1c64c43496996ab01bbf941bf96e22e8 /client/src/lib | |
| parent | b6cd10f8fd0bb372fba03a7101316cf1bcf0aa26 (diff) | |
rebuild
Diffstat (limited to 'client/src/lib')
| -rw-r--r-- | client/src/lib/app/index.js | 3 | ||||
| -rw-r--r-- | client/src/lib/views/nav.js | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/client/src/lib/app/index.js b/client/src/lib/app/index.js index 29a5bf9..77fd5d2 100644 --- a/client/src/lib/app/index.js +++ b/client/src/lib/app/index.js @@ -66,6 +66,9 @@ class App extends Component { <Route exact path='/' render={(props) => ( <Home /> )}/> + <Route path='/site.html' render={(props) => ( + <Home /> + )}/> <Route path='/timeline' render={(props) => { if (! this.visitedTimeline) { setTimeout(() => { diff --git a/client/src/lib/views/nav.js b/client/src/lib/views/nav.js index 83f9aa4..fe2e4b7 100644 --- a/client/src/lib/views/nav.js +++ b/client/src/lib/views/nav.js @@ -33,7 +33,7 @@ export default class Nav extends Component { } render() { let opacity = 1 - if (this.props.location.pathname === '/' || this.props.location.pathname === '/home') { + if (this.props.location.pathname === '/' || this.props.location.pathname === '/home' || this.props.location.pathname === '/site.html') { opacity = 0 } const min = this.props.min || 0 |
