From 32e8dbacbdfe531a12d416f6152002df8842a748 Mon Sep 17 00:00:00 2001 From: darkicewolf50 <brock.tomlinson@ucalgary.ca> Date: Sat, 23 Mar 2024 12:08:26 -0600 Subject: [PATCH] added Subteams: some comments added --- src/Teams/SubTeams.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Teams/SubTeams.js b/src/Teams/SubTeams.js index df308e7..7abed12 100644 --- a/src/Teams/SubTeams.js +++ b/src/Teams/SubTeams.js @@ -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>