summaryrefslogtreecommitdiffstats
path: root/ui/src/components/footer.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/components/footer.tsx
parente94885eb97b3240ed9cec7f97d0f405b2819e922 (diff)
Before big moderation merge
Diffstat (limited to 'ui/src/components/footer.tsx')
-rw-r--r--ui/src/components/footer.tsx36
1 files changed, 36 insertions, 0 deletions
diff --git a/ui/src/components/footer.tsx b/ui/src/components/footer.tsx
new file mode 100644
index 00000000..fe6d971a
--- /dev/null
+++ b/ui/src/components/footer.tsx
@@ -0,0 +1,36 @@
+import { Component } from 'inferno';
+import { Link } from 'inferno-router';
+import { repoUrl } from '../utils';
+import { version } from '../version';
+
+export class Footer extends Component<any, any> {
+
+
+ constructor(props: any, context: any) {
+ super(props, context);
+ }
+
+ render() {
+ return (
+ <nav title={version} class="container navbar navbar-expand-md navbar-light navbar-bg p-0 px-3 my-2">
+ <div className="navbar-collapse">
+ <ul class="navbar-nav ml-auto">
+ <li class="nav-item">
+ <Link class="nav-link" to="/modlog">Modlog</Link>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href={repoUrl}>Contribute</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href={repoUrl}>Code</a>
+ </li>
+ <li class="nav-item">
+ <a class="nav-link" href={repoUrl}>About</a>
+ </li>
+ </ul>
+ </div>
+ </nav>
+ );
+ }
+}
+