Update contributors

This commit is contained in:
Misode
2023-05-25 12:33:42 +02:00
parent 626b22fee7
commit be05a3af5c
3 changed files with 42 additions and 13 deletions

View File

@@ -136,11 +136,11 @@ function Changelog() {
function Contributors() {
const supporters = useMemo(() => {
return contributors.filter(c => c.types.includes('support'))
return contributors.filter(c => c.types.includes('support') || c.types.includes('infrastructure'))
}, [])
const otherContributors = useMemo(() => {
return shuffle(contributors.filter(c => c.types.filter(t => t !== 'support').length > 0))
return shuffle(contributors.filter(c => !supporters.includes(c)))
}, [])
return <div class="contributors">