mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-22 04:11:15 +00:00
Clean up sponsors
This commit is contained in:
parent
def397596f
commit
e22ba00f3b
6 changed files with 70 additions and 25 deletions
|
@ -16,6 +16,7 @@
|
||||||
"warnOnUnsupportedTypeScriptVersion": false
|
"warnOnUnsupportedTypeScriptVersion": false
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
|
"@typescript-eslint/ban-ts-comment": "off",
|
||||||
"@typescript-eslint/no-explicit-any": 0,
|
"@typescript-eslint/no-explicit-any": 0,
|
||||||
"@typescript-eslint/explicit-module-boundary-types": 0,
|
"@typescript-eslint/explicit-module-boundary-types": 0,
|
||||||
"arrow-body-style": 0,
|
"arrow-body-style": 0,
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit bb4ebe8787df58390f48d1836f3670445d440e9b
|
Subproject commit eb718ef3be97ccb4d38988e2ed28f294e73451c0
|
|
@ -1 +1 @@
|
||||||
Subproject commit cf0e5ea14ef2355f0675a16eee74b67242fcccab
|
Subproject commit 3db2dc45f92e8806d668839779f076e795927feb
|
|
@ -1 +1 @@
|
||||||
Subproject commit febf8f8d952771b6144bef9ac29c825e7d33376f
|
Subproject commit 881d9ac4e5f060cf14b18c6b8661e8354b87d130
|
|
@ -55,3 +55,8 @@ img {
|
||||||
display: inline-block !important;
|
display: inline-block !important;
|
||||||
padding: 0px 6px 0px 6px !important;
|
padding: 0px 6px 0px 6px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gold {
|
||||||
|
border-color: #FFD700 !important;
|
||||||
|
color: #FFD700;
|
||||||
|
}
|
||||||
|
|
|
@ -7,29 +7,43 @@ import { translators } from "../translations/translators";
|
||||||
import { languagesAll, countries } from "countries-list";
|
import { languagesAll, countries } from "countries-list";
|
||||||
|
|
||||||
const title = i18n.t("support_title");
|
const title = i18n.t("support_title");
|
||||||
|
const avatarSize = 40;
|
||||||
|
|
||||||
interface LinkedSponsor {
|
interface LinkedSponsor {
|
||||||
name: string;
|
name: string;
|
||||||
link: string;
|
link: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
let silverSponsors: LinkedSponsor[] = [
|
interface GoldSponsor {
|
||||||
{ name: "RedJoker", link: "https://iww.org" },
|
name: string;
|
||||||
|
link: string;
|
||||||
|
avatar: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
let goldSponsors: GoldSponsor[] = [
|
||||||
|
{
|
||||||
|
name: "purplerabbit",
|
||||||
|
link: "https://purplerabbit.gitlab.io",
|
||||||
|
avatar: "https://purplerabbit.gitlab.io/assets/avatar.jpeg",
|
||||||
|
},
|
||||||
];
|
];
|
||||||
let highlightedSponsors = ["DQW", "Alex Benishek"];
|
|
||||||
|
let silverSponsors: LinkedSponsor[] = [];
|
||||||
|
|
||||||
|
let highlightedSponsors = ["DQW", "John Knapp"];
|
||||||
let sponsors = [
|
let sponsors = [
|
||||||
"seahorse",
|
"Anthony",
|
||||||
"Tommaso",
|
"Remi Rampin",
|
||||||
"Jamie Gray",
|
"Cameron C",
|
||||||
|
"Vegard",
|
||||||
|
"0ti.me",
|
||||||
"Brendan",
|
"Brendan",
|
||||||
"mexicanhalloween",
|
"mexicanhalloween .",
|
||||||
"William Moore",
|
|
||||||
"Rachel Schmitz",
|
|
||||||
"comradeda",
|
|
||||||
"Jonathan Cremin",
|
|
||||||
"Arthur Nieuwland",
|
"Arthur Nieuwland",
|
||||||
"Forrest Weghorst",
|
"Forrest Weghorst",
|
||||||
"Andre Vallestero",
|
"Luke Black",
|
||||||
|
"Brandon Abbott",
|
||||||
|
"Eon Gattignolo",
|
||||||
];
|
];
|
||||||
|
|
||||||
export interface Coder {
|
export interface Coder {
|
||||||
|
@ -85,17 +99,42 @@ export class Support extends Component<any, any> {
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<h2>{i18n.t("sponsors")}</h2>
|
<h2>{i18n.t("sponsors")}</h2>
|
||||||
<p>{i18n.t("silver_sponsors_desc")}</p>
|
{goldSponsors.length > 0 && (
|
||||||
<div class="row is-horizontal-align">
|
<div>
|
||||||
{silverSponsors.map(s => (
|
<p>{i18n.t("gold_sponsors_desc")}</p>
|
||||||
<div class="col">
|
<div class="row is-horizontal-align">
|
||||||
<a class="button outline primary" href={s.link}>
|
{goldSponsors.map(s => (
|
||||||
💎 {s.name}
|
<div class="col">
|
||||||
</a>
|
<a class="button outline gold" href={s.link}>
|
||||||
|
<img
|
||||||
|
class="mr-2 is-rounded"
|
||||||
|
src={s.avatar}
|
||||||
|
width={avatarSize}
|
||||||
|
height={avatarSize}
|
||||||
|
/>
|
||||||
|
<div>{s.name}</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
</div>
|
</div>
|
||||||
))}
|
<br />
|
||||||
</div>
|
</div>
|
||||||
<br />
|
)}
|
||||||
|
{silverSponsors.length > 0 && (
|
||||||
|
<div>
|
||||||
|
<p>{i18n.t("silver_sponsors_desc")}</p>
|
||||||
|
<div class="row is-horizontal-align">
|
||||||
|
{silverSponsors.map(s => (
|
||||||
|
<div class="col">
|
||||||
|
<a class="button outline primary" href={s.link}>
|
||||||
|
💎 {s.name}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
<br />
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
<p>{i18n.t("general_sponsors_desc")}</p>
|
<p>{i18n.t("general_sponsors_desc")}</p>
|
||||||
<div class="row is-horizontal-align">
|
<div class="row is-horizontal-align">
|
||||||
{highlightedSponsors.map(s => (
|
{highlightedSponsors.map(s => (
|
||||||
|
|
Loading…
Reference in a new issue