feat(profile): Add Top Contributor
badge feature (#38348)
Co-authored-by: Twaha Rahman <39026437+Twaha-Rahman@users.noreply.github.com> Co-authored-by: Twaha Rahman <mahi6703890@gmail.com> Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export default function borderColorPicker(isDonating, isTopContributor) {
|
||||
if (isDonating && isTopContributor) return 'purple-border';
|
||||
else if (isTopContributor) return 'green-border';
|
||||
else if (isTopContributor) return 'blue-border';
|
||||
else if (isDonating) return 'gold-border';
|
||||
else return 'default-border';
|
||||
}
|
||||
|
Reference in New Issue
Block a user