mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-21 20:01:16 +00:00
Merge branch 'main' into remove-email
This commit is contained in:
commit
5ef316f0c8
6 changed files with 14 additions and 10 deletions
|
@ -1,5 +1,12 @@
|
|||
{
|
||||
"en": ["sopuli.xyz", "lemmy.world", "sh.itjust.works"],
|
||||
"en": [
|
||||
"sopuli.xyz",
|
||||
"lemmy.world",
|
||||
"sh.itjust.works",
|
||||
"lemmy.fmhy.ml",
|
||||
"vlemmy.net",
|
||||
"discuss.tchncs.de"
|
||||
],
|
||||
"fr": ["sh.itjust.works"],
|
||||
"da": ["feddit.dk"],
|
||||
"de": ["feddit.de", "discuss.tchncs.de"],
|
||||
|
|
|
@ -3,8 +3,6 @@ import { AppDetails } from "./app-details";
|
|||
import { Helmet } from "inferno-helmet";
|
||||
import { i18n } from "../i18next";
|
||||
|
||||
const title = i18n.t("apps_title");
|
||||
|
||||
export class Apps extends Component<any, any> {
|
||||
constructor(props: any, context: any) {
|
||||
super(props, context);
|
||||
|
@ -15,6 +13,7 @@ export class Apps extends Component<any, any> {
|
|||
}
|
||||
|
||||
render() {
|
||||
const title = i18n.t("apps_title");
|
||||
return (
|
||||
<div>
|
||||
<Helmet title={title}>
|
||||
|
|
|
@ -2,13 +2,12 @@ import { Component } from "inferno";
|
|||
import { Helmet } from "inferno-helmet";
|
||||
import { i18n } from "../i18next";
|
||||
|
||||
const title = i18n.t("contact_title");
|
||||
|
||||
export class Contact extends Component<any, any> {
|
||||
constructor(props: any, context: any) {
|
||||
super(props, context);
|
||||
}
|
||||
render() {
|
||||
const title = i18n.t("contact_title");
|
||||
return (
|
||||
<div>
|
||||
<Helmet title={title}>
|
||||
|
|
|
@ -7,7 +7,6 @@ import { translators } from "../translations/translators";
|
|||
import { languagesAll, countries } from "countries-list";
|
||||
import { isBrowser } from "../utils";
|
||||
|
||||
const title = i18n.t("support_title");
|
||||
const avatarSize = 40;
|
||||
const bannerWidth = 240;
|
||||
const bannerHeight = 101;
|
||||
|
@ -92,6 +91,7 @@ export class Donate extends Component<any, any> {
|
|||
}
|
||||
|
||||
render() {
|
||||
const title = i18n.t("support_title");
|
||||
return (
|
||||
<div>
|
||||
<Helmet title={title}>
|
||||
|
|
|
@ -4,14 +4,14 @@ import { i18n } from "../i18next";
|
|||
import { instance_stats } from "../instance_stats";
|
||||
import { numToSI } from "../utils";
|
||||
|
||||
const title = i18n.t("join_title");
|
||||
|
||||
export class Instances extends Component<any, any> {
|
||||
constructor(props: any, context: any) {
|
||||
super(props, context);
|
||||
}
|
||||
|
||||
render() {
|
||||
const title = i18n.t("join_title");
|
||||
|
||||
var recommended_instances = instance_stats.recommended[i18n.language];
|
||||
if (!recommended_instances) {
|
||||
recommended_instances = instance_stats.recommended["en"];
|
||||
|
|
|
@ -6,8 +6,6 @@ import { i18n } from "../i18next";
|
|||
import { T } from "inferno-i18next";
|
||||
import { getDocsLanguage, isBrowser } from "../utils";
|
||||
|
||||
const title = i18n.t("lemmy_title");
|
||||
|
||||
export class Main extends Component<any, any> {
|
||||
constructor(props: any, context: any) {
|
||||
super(props, context);
|
||||
|
@ -40,6 +38,7 @@ export class Main extends Component<any, any> {
|
|||
}
|
||||
|
||||
render() {
|
||||
const title = i18n.t("lemmy_title");
|
||||
return (
|
||||
<div>
|
||||
<Helmet title={title}>
|
||||
|
|
Loading…
Reference in a new issue