@@ -11,59 +11,57 @@ export function SubTeamDesktop({
1111 subTeamBioComponents,
1212} ) {
1313 return (
14- < div className = { styles . subteam_component } >
15- < h2 style = { { textAlign : "center" } } > { description } </ h2 >
16- < div className = { "container" + " " + styles . subteam_container } >
17- < ul
18- className = {
19- "row" + " " + "row-padding-none" + " " + styles . row_with_margins
20- }
21- >
22- { subTeam . map ( ( person , index ) => (
23- < li className = "cards_list" key = { index } >
24- < div className = "col" >
25- < Popup
26- trigger = {
27- < div >
28- { " " }
29- < SmallPortraitCard
30- person = { person }
31- avatarUrl = { subTeamAvatarsUrls [ index ] }
32- />
33- </ div >
34- }
35- overlayStyle = { {
36- backgroundColor : "grey" ,
37- opacity : "0.4" ,
38- width : "100%" ,
39- height : "100%" ,
40- } }
41- position = { "center center" }
42- >
43- < LargePortraitCard
44- person = { person }
45- avatarUrl = { subTeamAvatarsUrls [ index ] }
46- BioComponent = { subTeamBioComponents [ index ] }
47- > </ LargePortraitCard >
48- </ Popup >
49- </ div >
50- </ li >
51- ) ) }
52- </ ul >
53- </ div >
14+ < div className = { styles . subteam_component } >
15+ < h2 className = "text-centered" > { description } </ h2 >
16+ < div className = { "container" + " " + styles . subteam_container } >
17+ < ul
18+ className = {
19+ "row" + " " + "padding-none" + " " + styles . row_with_margins
20+ }
21+ >
22+ { subTeam . map ( ( person , index ) => (
23+ < li className = "cards_list" key = { index } >
24+ < div className = "col" >
25+ < Popup
26+ trigger = {
27+ < div >
28+ < SmallPortraitCard
29+ person = { person }
30+ avatarUrl = { subTeamAvatarsUrls [ index ] }
31+ />
32+ </ div >
33+ }
34+ overlayStyle = { {
35+ backgroundColor :
36+ "var(--ifm-background-color-popup-overlay)" ,
37+ opacity : "0.4" ,
38+ width : "100%" ,
39+ height : "100%" ,
40+ } }
41+ position = { "center center" }
42+ >
43+ < LargePortraitCard
44+ person = { person }
45+ avatarUrl = { subTeamAvatarsUrls [ index ] }
46+ BioComponent = { subTeamBioComponents [ index ] }
47+ > </ LargePortraitCard >
48+ </ Popup >
49+ </ div >
50+ </ li >
51+ ) ) }
52+ </ ul >
5453 </ div >
54+ </ div >
5555 ) ;
5656}
5757
5858export function SubTeamMobile ( { description, subTeamAvatarsUrls, subTeam } ) {
5959 return (
6060 < div className = { styles . subteam_component } >
61- < h2 style = { { textAlign : "center" } } > { description } </ h2 >
61+ < h2 className = "text-centered" > { description } </ h2 >
6262 < div className = { "container" + " " + styles . subteam_container } >
6363 < ul
64- className = {
65- "row" + " " + "row-flex-full-centered" + " " + "row-padding-none"
66- }
64+ className = { "row" + " " + "flex-full-centered" + " " + "padding-none" }
6765 >
6866 { subTeam . map ( ( person , index ) => (
6967 < li className = "cards_list" key = { index } >
0 commit comments