]> Untitled Git - lemmy.git/commitdiff
Adding to sponsors list.
authorDessalines <tyhou13@gmx.com>
Thu, 2 Jul 2020 02:50:55 +0000 (22:50 -0400)
committerDessalines <tyhou13@gmx.com>
Thu, 2 Jul 2020 02:50:55 +0000 (22:50 -0400)
ui/src/components/sponsors.tsx

index 06e135248639aa8057b04ae7ec7c417ffa4c6c81..dae3f76932e677fcb228bb416fdda5e96862a32e 100644 (file)
@@ -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>
           ))}