diff --git a/joinlemmy-translations b/joinlemmy-translations index 003c3e4..0024697 160000 --- a/joinlemmy-translations +++ b/joinlemmy-translations @@ -1 +1 @@ -Subproject commit 003c3e4b17de324123a36e6e2a89529427edb10f +Subproject commit 0024697dae71bafaa2353430294fa1da9a8b2d5f diff --git a/src/shared/components/about.tsx b/src/shared/components/about.tsx deleted file mode 100644 index 288e4ef..0000000 --- a/src/shared/components/about.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import { Component } from "inferno"; -import { Helmet } from "inferno-helmet"; -import { i18n } from "../i18next"; -import { T } from "inferno-i18next"; -import { isBrowser } from "../utils"; - -const title = i18n.t("about_title"); - -export class About extends Component { - constructor(props: any, context: any) { - super(props, context); - } - - componentDidMount() { - if (isBrowser()) { - window.scrollTo(0, 0); - } - } - - render() { - return ( -
- - - -
-

{i18n.t("about_title")}

- -

#

-

#

-

#

-

#

-

#

-

#

-

#

-

#

-

#

-

#

-

#

- # -
-
-
- ); - } -} diff --git a/src/shared/components/link-line.tsx b/src/shared/components/link-line.tsx index ac02b65..adde622 100644 --- a/src/shared/components/link-line.tsx +++ b/src/shared/components/link-line.tsx @@ -12,7 +12,6 @@ export class LinkLine extends Component { <> {i18n.t("join")} {i18n.t("news")} - {i18n.t("about")} {i18n.t("apps")} {i18n.t("donate")} diff --git a/src/shared/routes.ts b/src/shared/routes.ts index d1a6192..384a04f 100644 --- a/src/shared/routes.ts +++ b/src/shared/routes.ts @@ -4,7 +4,6 @@ import { Apps } from "./components/apps"; import { Instances } from "./components/instances"; import { Contact } from "./components/contact"; import { Donate } from "./components/donate"; -import { About } from "./components/about"; import { News } from "./components/news"; import { NewsItem } from "./components/news-item"; @@ -29,11 +28,6 @@ export const routes: IRouteProps[] = [ exact: true, component: NewsItem, }, - { - path: `/about`, - exact: true, - component: About, - }, { path: `/instances`, exact: true,