1 import { Component } from 'inferno';
2 import { WebSocketService } from '../services';
3 import { i18n } from '../i18next';
4 import { T } from 'inferno-i18next';
5 import { repoUrl } from '../utils';
19 let highlighted = ['Oskenso Kashi', 'Alex Benishek'];
20 let silver: Array<SilverUser> = [
23 link: 'https://iww.org',
29 export class Sponsors extends Component<any, any> {
30 constructor(props: any, context: any) {
31 super(props, context);
35 document.title = `${i18n.t('sponsors')} - ${
36 WebSocketService.Instance.site.name
38 window.scrollTo(0, 0);
43 <div class="container text-center">
56 <h5>{i18n.t('donate_to_lemmy')}</h5>
58 <T i18nKey="sponsor_message">
59 #<a href={repoUrl}>#</a>
62 <a class="btn btn-secondary" href="https://liberapay.com/Lemmy/">
63 {i18n.t('support_on_liberapay')}
66 class="btn btn-secondary ml-2"
67 href="https://www.patreon.com/dessalines"
69 {i18n.t('support_on_patreon')}
72 class="btn btn-secondary ml-2"
73 href="https://opencollective.com/lemmy"
75 {i18n.t('support_on_open_collective')}
82 <div class="container">
83 <h5>{i18n.t('sponsors')}</h5>
84 <p>{i18n.t('silver_sponsors')}</p>
85 <div class="row card-columns">
87 <div class="card col-12 col-md-2">
89 <a href={s.link} target="_blank">
96 <p>{i18n.t('general_sponsors')}</p>
97 <div class="row card-columns">
98 {highlighted.map(s => (
99 <div class="card bg-primary col-12 col-md-2 font-weight-bold">
104 <div class="card col-12 col-md-2">
116 <h5>{i18n.t('crypto')}</h5>
117 <div class="table-responsive">
118 <table class="table table-hover text-center">
121 <td>{i18n.t('bitcoin')}</td>
123 <code>1Hefs7miXS5ff5Ck5xvmjKjXf5242KzRtK</code>
127 <td>{i18n.t('ethereum')}</td>
129 <code>0x400c96c96acbC6E7B3B43B1dc1BB446540a88A01</code>
133 <td>{i18n.t('monero')}</td>
136 41taVyY6e1xApqKyMVDRVxJ76sPkfZhALLTjRvVKpaAh2pBd4wv9RgYj1tSPrx8wc6iE1uWUfjtQdTmTy2FGMeChGVKPQuV