mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
better april fools
This commit is contained in:
1 parent
5f6149dc21
commit
4a5afa47a9
1 file changed
+25
-1
@@ -835,6 +835,8 @@ SPEAKER_CATEGORIES.forEach(category => {
|
||||
SPEAKERS_BY_CATEGORY.set(category, []);
|
||||
});
|
||||
|
||||
let i = 0;
|
||||
|
||||
SPEAKERS.forEach(speaker => {
|
||||
speaker.getCategories().forEach((category: SpeakerCategory) => {
|
||||
let categoryList = SPEAKERS_BY_CATEGORY.get(category);
|
||||
@@ -846,9 +848,31 @@ SPEAKERS.forEach(speaker => {
|
||||
|
||||
// TODO(bt): April fools
|
||||
speaker.slug = "goku";
|
||||
//speaker.name = "Goku";
|
||||
speaker.name = "Goku";
|
||||
speaker.avatarUrl = "goku.webp";
|
||||
speaker.fullUrl = "goku-full.png";
|
||||
|
||||
i += 1;
|
||||
|
||||
if (i % 5 == 0) {
|
||||
speaker.name = "Other Goku";
|
||||
} else if (i % 3 == 0) {
|
||||
speaker.name = "GOKU";
|
||||
} else if (i % 6 == 0) {
|
||||
speaker.name = "GoKu";
|
||||
}
|
||||
|
||||
if (i % 7 == 0) {
|
||||
speaker.name = "Different Goku";
|
||||
} else if (i % 20 == 0) {
|
||||
speaker.name = "More Different Goku";
|
||||
}
|
||||
|
||||
if (i % 11 == 0) {
|
||||
speaker.name = "Did somebody say Goku?";
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
export {
|
||||
|
||||
Reference in new issue
Block a user