summaryrefslogtreecommitdiffstats
path: root/ui/src/index.tsx
diff options
context:
space:
mode:
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>
);
}