Merge pull request #53 from ItsVipra/contributor-list

add contributor list
This commit is contained in:
Vivien 2023-07-17 14:40:44 +02:00 committed by GitHub
commit 6e5f2c036c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,13 @@
// obligatory crime. because be gay, do crime.
// 8======D
const contributorList = [
"vivien@queer.group",
"jasmin@queer.group",
"aurora@queer-lexikon.net",
"LenaEine@chaos.social",
];
import { fetchPronouns } from "../libs/fetchPronouns";
import {
accountVisibility,
@ -210,7 +217,7 @@ async function addProplate(element) {
proplate.innerText = pronouns;
//TODO?: alt text
proplate.classList.add("protoots-proplate");
if (accountName == "jasmin@queer.group" || accountName == "vivien@queer.group") {
if (contributorList.includes(accountName)) {
//i think you can figure out what this does on your own
proplate.classList.add("proplate-pog");
}