1 import { Component } from 'inferno';
2 import { Link } from 'inferno-router';
3 import { repoUrl } from '../utils';
4 import { version } from '../version';
5 import { T } from 'inferno-i18next';
7 export class Footer extends Component<any, any> {
10 constructor(props: any, context: any) {
11 super(props, context);
16 <nav class="container navbar navbar-expand-md navbar-light navbar-bg p-0 px-3 mt-2">
17 <div className="navbar-collapse">
18 <ul class="navbar-nav ml-auto">
20 <span class="navbar-text">{version}</span>
23 <Link class="nav-link" to="/modlog"><T i18nKey="modlog">#</T></Link>
26 <a class="nav-link" href={`${repoUrl}/blob/master/docs/api.md`}><T i18nKey="api">#</T></a>
29 <Link class="nav-link" to="/sponsors"><T i18nKey="sponsors">#</T></Link>
32 <a class="nav-link" href={repoUrl}><T i18nKey="code">#</T></a>