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';
23 let highlighted = ['Oskenso Kashi', 'Alex Benishek'];
24 let silver: Array<SilverUser> = [
26 name: 'DiscountFuneral',
30 link: 'https://iww.org',
36 export class Sponsors extends Component<any, any> {
37 constructor(props: any, context: any) {
38 super(props, context);
42 document.title = `${i18n.t('sponsors')} - ${
43 WebSocketService.Instance.site.name
45 window.scrollTo(0, 0);
50 <div class="container text-center">
63 <h5>{i18n.t('donate_to_lemmy')}</h5>
65 <T i18nKey="sponsor_message">
66 #<a href={repoUrl}>#</a>
69 <a class="btn btn-secondary" href="https://liberapay.com/Lemmy/">
70 {i18n.t('support_on_liberapay')}
73 class="btn btn-secondary ml-2"
74 href="https://www.patreon.com/dessalines"
76 {i18n.t('support_on_patreon')}
79 class="btn btn-secondary ml-2"
80 href="https://opencollective.com/lemmy"
82 {i18n.t('support_on_open_collective')}
89 <div class="container">
90 <h5>{i18n.t('sponsors')}</h5>
91 <p>{i18n.t('silver_sponsors')}</p>
92 <div class="row card-columns">
94 <div class="card col-12 col-md-2">
97 <a href={s.link} target="_blank" rel="noopener">
101 <div>💎 {s.name}</div>
107 <p>{i18n.t('general_sponsors')}</p>
108 <div class="row card-columns">
109 {highlighted.map(s => (
110 <div class="card bg-primary col-12 col-md-2 font-weight-bold">
115 <div class="card col-12 col-md-2">
127 <h5>{i18n.t('crypto')}</h5>
128 <div class="table-responsive">
129 <table class="table table-hover text-center">
132 <td>{i18n.t('bitcoin')}</td>
134 <code>1Hefs7miXS5ff5Ck5xvmjKjXf5242KzRtK</code>
138 <td>{i18n.t('ethereum')}</td>
140 <code>0x400c96c96acbC6E7B3B43B1dc1BB446540a88A01</code>
144 <td>{i18n.t('monero')}</td>
147 41taVyY6e1xApqKyMVDRVxJ76sPkfZhALLTjRvVKpaAh2pBd4wv9RgYj1tSPrx8wc6iE1uWUfjtQdTmTy2FGMeChGVKPQuV