mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 12:51:18 +00:00
Adding to sponsors list.
This commit is contained in:
parent
9e1e12f6ce
commit
a6ec9dc666
1 changed files with 12 additions and 4 deletions
16
ui/src/components/sponsors.tsx
vendored
16
ui/src/components/sponsors.tsx
vendored
|
@ -6,10 +6,11 @@ import { repoUrl } from '../utils';
|
|||
|
||||
interface SilverUser {
|
||||
name: string;
|
||||
link: string;
|
||||
link?: string;
|
||||
}
|
||||
|
||||
let general = [
|
||||
'twilight loki',
|
||||
'Andrew Plaza',
|
||||
'Jonathan Cremin',
|
||||
'Arthur Nieuwland',
|
||||
|
@ -21,6 +22,9 @@ let general = [
|
|||
];
|
||||
let highlighted = ['Oskenso Kashi', 'Alex Benishek'];
|
||||
let silver: Array<SilverUser> = [
|
||||
{
|
||||
name: 'DiscountFuneral',
|
||||
},
|
||||
{
|
||||
name: 'Redjoker',
|
||||
link: 'https://iww.org',
|
||||
|
@ -89,9 +93,13 @@ export class Sponsors extends Component<any, any> {
|
|||
{silver.map(s => (
|
||||
<div class="card col-12 col-md-2">
|
||||
<div>
|
||||
<a href={s.link} target="_blank" rel="noopener">
|
||||
💎 {s.name}
|
||||
</a>
|
||||
{s.link ? (
|
||||
<a href={s.link} target="_blank" rel="noopener">
|
||||
💎 {s.name}
|
||||
</a>
|
||||
) : (
|
||||
<div>💎 {s.name}</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
|
|
Loading…
Reference in a new issue