mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-25 22:01:17 +00:00
Merge branch 'main' into add_contributor_thanks
This commit is contained in:
commit
62535b925f
4 changed files with 6 additions and 6 deletions
|
@ -6,7 +6,7 @@ const title = i18n.t("join_title");
|
||||||
|
|
||||||
// TODO wait until new lemmy-instances is written to refactor this
|
// TODO wait until new lemmy-instances is written to refactor this
|
||||||
|
|
||||||
export class Join extends Component<any, any> {
|
export class Instances extends Component<any, any> {
|
||||||
constructor(props: any, context: any) {
|
constructor(props: any, context: any) {
|
||||||
super(props, context);
|
super(props, context);
|
||||||
}
|
}
|
|
@ -9,7 +9,7 @@ export class LinkLine extends Component<any, any> {
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Link to="/join">{i18n.t("join")}</Link>
|
<Link to="/instances">{i18n.t("join")}</Link>
|
||||||
<Link to="/apps">{i18n.t("apps")}</Link>
|
<Link to="/apps">{i18n.t("apps")}</Link>
|
||||||
<Link to="/support">{i18n.t("support")}</Link>
|
<Link to="/support">{i18n.t("support")}</Link>
|
||||||
<a href="/docs/en/index.html">{i18n.t("docs")}</a>
|
<a href="/docs/en/index.html">{i18n.t("docs")}</a>
|
||||||
|
|
|
@ -14,7 +14,7 @@ export class Main extends Component<any, any> {
|
||||||
|
|
||||||
joinServer() {
|
joinServer() {
|
||||||
return (
|
return (
|
||||||
<Link className="button primary" to="/join">
|
<Link className="button primary" to="/instances">
|
||||||
{i18n.t("join_a_server")}
|
{i18n.t("join_a_server")}
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { IRouteProps } from "inferno-router/dist/Route";
|
import { IRouteProps } from "inferno-router/dist/Route";
|
||||||
import { Main } from "./components/main";
|
import { Main } from "./components/main";
|
||||||
import { Apps } from "./components/apps";
|
import { Apps } from "./components/apps";
|
||||||
import { Join } from "./components/join";
|
import { Instances } from "./components/instances";
|
||||||
import { Contact } from "./components/contact";
|
import { Contact } from "./components/contact";
|
||||||
import { Support } from "./components/support";
|
import { Support } from "./components/support";
|
||||||
|
|
||||||
|
@ -17,9 +17,9 @@ export const routes: IRouteProps[] = [
|
||||||
component: Apps,
|
component: Apps,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: `/join`,
|
path: `/instances`,
|
||||||
exact: true,
|
exact: true,
|
||||||
component: Join,
|
component: Instances,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: `/contact`,
|
path: `/contact`,
|
||||||
|
|
Loading…
Reference in a new issue