From 9fa6954a042db79e1a5e448bee09d3521e43834b Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 8 Sep 2021 17:35:30 -0400 Subject: [PATCH] Add NLNet as a sponsor. Fixes #59 --- joinlemmy-translations | 2 +- src/shared/components/support.tsx | 32 ++++++++++++++++++++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/joinlemmy-translations b/joinlemmy-translations index eb718ef..3aadc09 160000 --- a/joinlemmy-translations +++ b/joinlemmy-translations @@ -1 +1 @@ -Subproject commit eb718ef3be97ccb4d38988e2ed28f294e73451c0 +Subproject commit 3aadc092ceba43fee043391900b1109b7753f70b diff --git a/src/shared/components/support.tsx b/src/shared/components/support.tsx index 76f96d9..9bf451f 100644 --- a/src/shared/components/support.tsx +++ b/src/shared/components/support.tsx @@ -8,6 +8,8 @@ import { languagesAll, countries } from "countries-list"; const title = i18n.t("support_title"); const avatarSize = 40; +const bannerWidth = 240; +const bannerHeight = 101; interface LinkedSponsor { name: string; @@ -28,6 +30,14 @@ let goldSponsors: GoldSponsor[] = [ }, ]; +let latinumSponsors: GoldSponsor[] = [ + { + name: "NLnet", + link: "https://nlnet.nl", + avatar: "https://nlnet.nl/image/logo_nlnet.svg", + }, +]; + let silverSponsors: LinkedSponsor[] = []; let highlightedSponsors = ["DQW", "John Knapp"]; @@ -99,6 +109,26 @@ export class Support extends Component {

{i18n.t("sponsors")}

+ {latinumSponsors.length > 0 && ( +
+

{i18n.t("gold_pressed_latinum_sponsors_desc")}

+
+ {latinumSponsors.map(s => ( + + ))} +
+
+
+ )} {goldSponsors.length > 0 && (

{i18n.t("gold_sponsors_desc")}

@@ -107,7 +137,7 @@ export class Support extends Component {