added bug hunter and white hat badges (#3202)

* added bug hunter and white hat badges

* corrected 'in the code' to 'on the site'

* edited descriptions

* changed white hat icon

* changed spotted to reported
This commit is contained in:
smunky 2022-06-23 08:07:28 +10:00 committed by GitHub
parent aad79660af
commit 79d1071b3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,6 +55,22 @@ const badges: Record<number, MonkeyTypes.UserBadge> = {
color: "var(--bg-color)",
background: "var(--main-color)",
},
8: {
id: 8,
name: "White Hat",
description: "Reported critical vulnerabilities on the site",
icon: "fa-user-secret",
color: "var(--bg-color)",
background: "var(--main-color)",
},
9: {
id: 9,
name: "Bug Hunter",
description: "Reported bugs on the site",
icon: "fa-bug",
color: "var(--bg-color)",
background: "var(--main-color)",
},
};
export function getHTMLById(id: number, noText = false): string {