summaryrefslogtreecommitdiff
path: root/client/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/lib')
-rw-r--r--client/src/lib/app/index.js3
-rw-r--r--client/src/lib/views/nav.js2
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