added Subteams: some comments added

This commit is contained in:
darkicewolf50 2024-03-23 12:08:26 -06:00
parent 2edcc9d6d6
commit 32e8dbacbd

View File

@ -124,8 +124,10 @@ const SubTeams = () => {
</tbody>
</table>
<div>
{/* lays out content from the .yml file gets the name of the subteam and ready for layout */}
{Object.keys(subteamsDict).map((subteamName, index) => {
const subteam = subteamsDict[subteamName];
//changes location of content based if the second one creates a checkerboard layout
const className = index % 2 === 0 ? "SubteamsEnd" : "";
return (
<div>