forked from QuantStack/quantstack.github.io
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSubTeam.tsx
More file actions
21 lines (20 loc) · 686 Bytes
/
SubTeam.tsx
File metadata and controls
21 lines (20 loc) · 686 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import styles from "./styles.module.css";
import { SmallPortraitCard } from "./SmallPortraitCard";
export default function SubTeam({ subTeamName, subTeam }) {
return (
<div className={styles.subteam_container}>
<h2 className={"text--center"}> {subTeamName}</h2>
<div className={"container"}>
<ul className="row padding-none flex-full-centered row-with-margin-top">
{subTeam.map((person, index) => (
<li className="cards-list" key={person.pageName}>
<div className="col">
<SmallPortraitCard person={person} />
</div>
</li>
))}
</ul>
</div>
</div>
);
}