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';
13 let highlighted = ['Alex Benishek'];
18 export class Sponsors extends Component<any, any> {
19 constructor(props: any, context: any) {
20 super(props, context);
24 document.title = `${i18n.t('sponsors')} - ${
25 WebSocketService.Instance.site.name
27 window.scrollTo(0, 0);
32 <div class="container text-center">
45 <h5>{i18n.t('donate_to_lemmy')}</h5>
47 <T i18nKey="sponsor_message">
48 #<a href={repoUrl}>#</a>
51 <a class="btn btn-secondary" href="https://liberapay.com/Lemmy/">
52 {i18n.t('support_on_liberapay')}
55 class="btn btn-secondary ml-2"
56 href="https://www.patreon.com/dessalines"
58 {i18n.t('support_on_patreon')}
65 <div class="container">
66 <h5>{i18n.t('sponsors')}</h5>
67 <p>{i18n.t('general_sponsors')}</p>
68 <div class="row card-columns">
69 {highlighted.map(s => (
70 <div class="card bg-primary col-12 col-md-2 font-weight-bold">
75 <div class="card col-12 col-md-2">
87 <h5>{i18n.t('crypto')}</h5>
88 <div class="table-responsive">
89 <table class="table table-hover text-center">
92 <td>{i18n.t('bitcoin')}</td>
94 <code>1Hefs7miXS5ff5Ck5xvmjKjXf5242KzRtK</code>
98 <td>{i18n.t('ethereum')}</td>
100 <code>0x400c96c96acbC6E7B3B43B1dc1BB446540a88A01</code>
104 <td>{i18n.t('monero')}</td>
107 41taVyY6e1xApqKyMVDRVxJ76sPkfZhALLTjRvVKpaAh2pBd4wv9RgYj1tSPrx8wc6iE1uWUfjtQdTmTy2FGMeChGVKPQuV