mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-14 17:13:03 -04:00
feat(GlobalBadges): Badge Modal
This commit is contained in:
parent
a09a1f3379
commit
d0b69679c3
2 changed files with 82 additions and 9 deletions
|
@ -48,14 +48,8 @@ const EquicordContributorBadge: ProfileBadge = {
|
|||
description: "Equicord Contributor",
|
||||
image: EQUICORD_CONTRIBUTOR_BADGE,
|
||||
position: BadgePosition.START,
|
||||
props: {
|
||||
style: {
|
||||
borderRadius: "50%",
|
||||
transform: "scale(0.9)" // The image is a bit too big compared to default badges
|
||||
}
|
||||
},
|
||||
shouldShow: ({ userId }) => isEquicordPluginDev(userId),
|
||||
link: "https://github.com/Equicord/Equicord"
|
||||
onClick: (_, { userId }) => openContributorModal(UserStore.getUser(userId))
|
||||
};
|
||||
|
||||
let DonorBadges = {} as Record<string, Array<Record<"tooltip" | "badge", string>>>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue