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';
25 let highlighted = ['DiscountFuneral', 'Oskenso Kashi', 'Alex Benishek'];
26 let silver: Array<SilverUser> = [
29 link: 'https://iww.org',
35 export class Sponsors extends Component<any, any> {
36 constructor(props: any, context: any) {
37 super(props, context);
41 document.title = `${i18n.t('sponsors')} - ${
42 WebSocketService.Instance.site.name
44 window.scrollTo(0, 0);
49 <div class="container text-center">
62 <h5>{i18n.t('donate_to_lemmy')}</h5>
64 <T i18nKey="sponsor_message">
65 #<a href={repoUrl}>#</a>
68 <a class="btn btn-secondary" href="https://liberapay.com/Lemmy/">
69 {i18n.t('support_on_liberapay')}
72 class="btn btn-secondary ml-2"
73 href="https://www.patreon.com/dessalines"
75 {i18n.t('support_on_patreon')}
78 class="btn btn-secondary ml-2"
79 href="https://opencollective.com/lemmy"
81 {i18n.t('support_on_open_collective')}
88 <div class="container">
89 <h5>{i18n.t('sponsors')}</h5>
90 <p>{i18n.t('silver_sponsors')}</p>
91 <div class="row card-columns">
93 <div class="card col-12 col-md-2">
96 <a href={s.link} target="_blank" rel="noopener">
100 <div>💎 {s.name}</div>
106 <p>{i18n.t('general_sponsors')}</p>
107 <div class="row card-columns">
108 {highlighted.map(s => (
109 <div class="card bg-primary col-12 col-md-2 font-weight-bold">
114 <div class="card col-12 col-md-2">
126 <h5>{i18n.t('crypto')}</h5>
127 <div class="table-responsive">
128 <table class="table table-hover text-center">
131 <td>{i18n.t('bitcoin')}</td>
133 <code>1Hefs7miXS5ff5Ck5xvmjKjXf5242KzRtK</code>
137 <td>{i18n.t('ethereum')}</td>
139 <code>0x400c96c96acbC6E7B3B43B1dc1BB446540a88A01</code>
143 <td>{i18n.t('monero')}</td>
146 41taVyY6e1xApqKyMVDRVxJ76sPkfZhALLTjRvVKpaAh2pBd4wv9RgYj1tSPrx8wc6iE1uWUfjtQdTmTy2FGMeChGVKPQuV