diff options
Diffstat (limited to 'ui/src/components/sponsors.tsx')
-rw-r--r-- | ui/src/components/sponsors.tsx | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/ui/src/components/sponsors.tsx b/ui/src/components/sponsors.tsx index 06e13524..4561bc30 100644 --- a/ui/src/components/sponsors.tsx +++ b/ui/src/components/sponsors.tsx @@ -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', @@ -19,7 +20,7 @@ let general = [ 'Andre Vallestero', 'NotTooHighToHack', ]; -let highlighted = ['Oskenso Kashi', 'Alex Benishek']; +let highlighted = ['DiscountFuneral', 'Oskenso Kashi', 'Alex Benishek']; let silver: Array<SilverUser> = [ { name: 'Redjoker', @@ -89,9 +90,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> ))} |