2021-03-15 17:18:03 +00:00
|
|
|
import { Component } from "inferno";
|
|
|
|
import { Link } from "inferno-router";
|
2021-03-31 19:23:58 +00:00
|
|
|
import { getDocsLanguage } from "../utils";
|
2021-03-22 13:22:23 +00:00
|
|
|
import { i18n } from "../i18next";
|
2021-03-15 17:18:03 +00:00
|
|
|
|
|
|
|
export class LinkLine extends Component<any, any> {
|
|
|
|
constructor(props: any, context: any) {
|
|
|
|
super(props, context);
|
|
|
|
}
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<>
|
2021-03-25 00:07:48 +00:00
|
|
|
<Link to="/instances">{i18n.t("join")}</Link>
|
2021-08-06 21:48:37 +00:00
|
|
|
<Link to="/about">{i18n.t("about")}</Link>
|
2021-03-22 13:22:23 +00:00
|
|
|
<Link to="/apps">{i18n.t("apps")}</Link>
|
2021-09-08 22:43:12 +00:00
|
|
|
<Link to="/donate">{i18n.t("donate")}</Link>
|
2021-03-31 19:23:58 +00:00
|
|
|
<a href={`/docs/${getDocsLanguage(i18n.language)}/index.html`}>
|
|
|
|
{i18n.t("docs")}
|
|
|
|
</a>
|
2021-03-22 13:22:23 +00:00
|
|
|
<a
|
2021-03-31 19:23:58 +00:00
|
|
|
href={`/docs/${getDocsLanguage(i18n.language)}/code_of_conduct.html`}
|
2021-03-22 13:22:23 +00:00
|
|
|
title={i18n.t("code_of_conduct")}
|
|
|
|
>
|
|
|
|
{i18n.t("coc")}
|
2021-03-15 17:18:03 +00:00
|
|
|
</a>
|
2021-03-22 13:22:23 +00:00
|
|
|
<Link to="/contact">{i18n.t("contact")}</Link>
|
2021-03-15 17:18:03 +00:00
|
|
|
</>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|