From: Dessalines Date: Sat, 24 Oct 2020 15:48:27 +0000 (-0500) Subject: Removing landing and donations page, adding joinlemmy. Fixes #63 X-Git-Url: http://these/git/?a=commitdiff_plain;h=cb433f12b28d895049e15641daf75a57026735bd;p=lemmy-ui.git Removing landing and donations page, adding joinlemmy. Fixes #63 --- diff --git a/lemmy-translations b/lemmy-translations index 7dc3916..2a49258 160000 --- a/lemmy-translations +++ b/lemmy-translations @@ -1 +1 @@ -Subproject commit 7dc391601135a52cddd3112ca75b505b99cec4fc +Subproject commit 2a492580d773e50061bb3a2c9562dde1173c8941 diff --git a/src/shared/components/footer.tsx b/src/shared/components/footer.tsx index 41369a5..5d132ee 100644 --- a/src/shared/components/footer.tsx +++ b/src/shared/components/footer.tsx @@ -1,7 +1,7 @@ import { Component } from 'inferno'; import { Link } from 'inferno-router'; import { i18n } from '../i18next'; -import { repoUrl } from '../utils'; +import { repoUrl, joinLemmyUrl } from '../utils'; import { GetSiteResponse } from 'lemmy-js-client'; interface FooterProps { @@ -38,16 +38,16 @@ export class Footer extends Component { {i18n.t('docs')} - + diff --git a/src/shared/components/main.tsx b/src/shared/components/main.tsx index 149f979..689a4d9 100644 --- a/src/shared/components/main.tsx +++ b/src/shared/components/main.tsx @@ -37,7 +37,6 @@ import { CommunityLink } from './community-link'; import { BannerIconHeader } from './banner-icon-header'; import { wsJsonToRes, - repoUrl, mdToHtml, fetchLimit, toast, @@ -291,10 +290,6 @@ export class Main extends Component {
{this.sidebar()}
- -
-
{this.landing()}
-
)} @@ -493,46 +488,6 @@ export class Main extends Component { ); } - landing() { - return ( - <> -
- {i18n.t('powered_by')} - - # - - - Lemmybeta - -
-

- - # - - # - - # -

- # -

- # -

- # -

- # - # - # - # -

- - # - -
-

- - ); - } - posts() { return (
diff --git a/src/shared/components/navbar.tsx b/src/shared/components/navbar.tsx index 04dae46..63bc230 100644 --- a/src/shared/components/navbar.tsx +++ b/src/shared/components/navbar.tsx @@ -254,17 +254,6 @@ export class Navbar extends Component { {i18n.t('create_community')} -
  • - - - - - -