summaryrefslogtreecommitdiffstats
path: root/ui/src/index.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-04-16 16:04:23 -0700
committerDessalines <tyhou13@gmx.com>2019-04-16 16:04:23 -0700
commit3f33cf8dcb53d20e67d8abc9214c7192a28dca94 (patch)
treeaab1da1b0eb54d6d0cb1e00f4f38cb218901ac53 /ui/src/index.tsx
parente94885eb97b3240ed9cec7f97d0f405b2819e922 (diff)
Before big moderation merge
Diffstat (limited to 'ui/src/index.tsx')
-rw-r--r--ui/src/index.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/src/index.tsx b/ui/src/index.tsx
index c2f2c92e..cefcac02 100644
--- a/ui/src/index.tsx
+++ b/ui/src/index.tsx
@@ -2,6 +2,7 @@ import { render, Component } from 'inferno';
import { HashRouter, Route, Switch } from 'inferno-router';
import { Navbar } from './components/navbar';
+import { Footer } from './components/footer';
import { Home } from './components/home';
import { Login } from './components/login';
import { CreatePost } from './components/create-post';
@@ -11,6 +12,7 @@ import { Community } from './components/community';
import { Communities } from './components/communities';
import { User } from './components/user';
import { Modlog } from './components/modlog';
+import { Setup } from './components/setup';
import { Symbols } from './components/symbols';
import './main.css';
@@ -43,10 +45,13 @@ class Index extends Component<any, any> {
<Route path={`/community/:id`} component={Community} />
<Route path={`/user/:id/:heading`} component={User} />
<Route path={`/user/:id`} component={User} />
+ <Route path={`/modlog/community/:community_id`} component={Modlog} />
<Route path={`/modlog`} component={Modlog} />
+ <Route path={`/setup`} component={Setup} />
</Switch>
<Symbols />
</div>
+ <Footer />
</HashRouter>
);
}