feat(home): Add moderation FAQs, update team, minor wording tweaks

This commit is contained in:
Ash Logan
2024-08-19 12:44:02 +10:00
committed by Ash
parent 6c5536a537
commit bb95ac0cf8
3 changed files with 68 additions and 10 deletions

View File

@@ -20,9 +20,10 @@ router.get('/', async (request, response) => {
}
shuffleArray(specialThanksPeople);
const pivot = specialThanksPeople.length / 2;
// Slices the array in half
const specialThanksFirstRow = specialThanksPeople.slice(0, 4);
const specialThanksSecondRow = specialThanksPeople.slice(4);
const specialThanksFirstRow = specialThanksPeople.slice(0, pivot);
const specialThanksSecondRow = specialThanksPeople.slice(pivot);
// Builds the final array to be sent to the view, and triples each row.
renderData.specialThanksPeople = {