mirror of
https://github.com/UofCBaja/BajaUofCWebsite.git
synced 2025-06-16 05:44:17 -06:00
added Subteams: some comments added
This commit is contained in:
parent
2edcc9d6d6
commit
32e8dbacbd
@ -124,8 +124,10 @@ const SubTeams = () => {
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div>
|
<div>
|
||||||
|
{/* lays out content from the .yml file gets the name of the subteam and ready for layout */}
|
||||||
{Object.keys(subteamsDict).map((subteamName, index) => {
|
{Object.keys(subteamsDict).map((subteamName, index) => {
|
||||||
const subteam = subteamsDict[subteamName];
|
const subteam = subteamsDict[subteamName];
|
||||||
|
//changes location of content based if the second one creates a checkerboard layout
|
||||||
const className = index % 2 === 0 ? "SubteamsEnd" : "";
|
const className = index % 2 === 0 ? "SubteamsEnd" : "";
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user