Frontend: Add Premium Badge

This commit is contained in:
ADAMJR 2021-11-15 17:15:22 +00:00
parent 58a02f847e
commit 8d2a597a33
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
import { faBug, faGavel, faSun, faVideo } from '@fortawesome/free-solid-svg-icons';
import { faBug, faGavel, faRocket, faSun, faVideo } from '@fortawesome/free-solid-svg-icons';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import moment from 'moment';
import { FunctionComponent, useState } from 'react';
@ -34,6 +34,11 @@ const UserProfile: FunctionComponent = () => {
icon: faBug,
title: 'Are there any bugs left?'
},
'PREMIUM': {
color: 'var(--heading)',
icon: faRocket,
title: 'This user has transcended the realm of epicness.',
},
'OG': {
color: 'orange',
icon: faSun,

1
types/entity.d.ts vendored
View File

@ -135,6 +135,7 @@ declare namespace UserTypes {
| 'BUG_1'
| 'BUG_2'
| 'BUG_3'
| 'PREMIUM'
| 'OG'
| 'VIEWER'
| 'STAFF';