@@ -4,19 +4,21 @@ import Popup from "reactjs-popup";
4
4
import LargePortraitCard from "./LargePortraitCard" ;
5
5
import Link from "@docusaurus/Link" ;
6
6
7
-
8
7
export function SubTeamDesktop ( {
9
8
description,
10
9
subTeam,
11
10
subTeamAvatarsUrls,
12
11
subTeamBioComponents,
13
12
} ) {
14
13
return (
15
- < div className = "main-container-with-margins" >
16
14
< div className = { styles . subteam_component } >
17
15
< h2 style = { { textAlign : "center" } } > { description } </ h2 >
18
16
< div className = { "container" + " " + styles . subteam_container } >
19
- < ul className = { "row" + " " + styles . row_custom } >
17
+ < ul
18
+ className = {
19
+ "row" + " " + "row-padding-none" + " " + styles . row_with_margins
20
+ }
21
+ >
20
22
{ subTeam . map ( ( person , index ) => (
21
23
< li className = "cards_list" key = { index } >
22
24
< div className = "col" >
@@ -30,7 +32,12 @@ export function SubTeamDesktop({
30
32
/>
31
33
</ div >
32
34
}
33
- overlayStyle = { { backgroundColor : "grey" , opacity : "0.4" , width : "100%" , height : "100%" } }
35
+ overlayStyle = { {
36
+ backgroundColor : "grey" ,
37
+ opacity : "0.4" ,
38
+ width : "100%" ,
39
+ height : "100%" ,
40
+ } }
34
41
position = { "center center" }
35
42
>
36
43
< LargePortraitCard
@@ -45,7 +52,6 @@ export function SubTeamDesktop({
45
52
</ ul >
46
53
</ div >
47
54
</ div >
48
- </ div >
49
55
) ;
50
56
}
51
57
@@ -54,15 +60,19 @@ export function SubTeamMobile({ description, subTeamAvatarsUrls, subTeam }) {
54
60
< div className = { styles . subteam_component } >
55
61
< h2 style = { { textAlign : "center" } } > { description } </ h2 >
56
62
< div className = { "container" + " " + styles . subteam_container } >
57
- < ul className = { "row" + " " + styles . row_custom } >
63
+ < ul
64
+ className = {
65
+ "row" + " " + "row-flex-full-centered" + " " + "row-padding-none"
66
+ }
67
+ >
58
68
{ subTeam . map ( ( person , index ) => (
59
69
< li className = "cards_list" key = { index } >
60
70
< div className = "col" >
61
- < Link href = { ' /about/' + person . firstName } >
62
- < SmallPortraitCard
63
- person = { person }
64
- avatarUrl = { subTeamAvatarsUrls [ index ] }
65
- > </ SmallPortraitCard >
71
+ < Link href = { " /about/" + person . firstName } >
72
+ < SmallPortraitCard
73
+ person = { person }
74
+ avatarUrl = { subTeamAvatarsUrls [ index ] }
75
+ > </ SmallPortraitCard >
66
76
</ Link >
67
77
</ div >
68
78
</ li >
0 commit comments