@@ -5,53 +5,53 @@ import Layout from '@theme/Layout';
55import './index.less' ;
66
77export default function ( ) {
8- const isBrowser = useIsBrowser ( ) ;
9- const language = isBrowser && location . pathname . indexOf ( '/zh-CN/' ) === 0 ? 'zh-CN' : 'en' ;
10- const dataSource = config ?. [ language ] ;
8+ const isBrowser = useIsBrowser ( ) ;
9+ const language = isBrowser && location . pathname . indexOf ( '/zh-CN/' ) === 0 ? 'zh-CN' : 'en' ;
10+ const dataSource = config ?. [ language ] ;
1111
12- return (
13- < Layout title = "team" description = "team page" >
14- < div className = "container" >
15- < div className = "block team_page" >
16- < h3 className = "team_title" > Ambari Team</ h3 >
17- < p className = "team_desc" dangerouslySetInnerHTML = { { __html : dataSource . info . desc } } />
18- < h3 className = "team_title" > PMC</ h3 >
19- < p className = "team_desc" > { dataSource . info . tip } </ p >
20- < ul className = "character_list" >
21- {
22- dataSource . pmc . map ( ( item , i ) => (
23- < a href = { 'https://github.com/' + item . githubId } key = { i } target = "_blank" >
24- < li className = "character_item text_center" style = { { 'listStyle' : 'none' } } >
25- < img className = "character_avatar" src = { item . avatarUrl } alt = { item . name } />
26- < div className = "character_desc" >
27- < h3 className = "character_name" > { item . name } </ h3 >
28- < h3 className = "character_id" > < span className = "githubId" > githubId: </ span > { item . githubId } </ h3 >
29- </ div >
30- </ li >
31- </ a >
32- ) )
33- }
34- </ ul >
12+ return (
13+ < Layout title = "team" description = "team page" >
14+ < div className = "container" >
15+ < div className = "block team_page" >
16+ < h3 className = "team_title" > Ambari Team</ h3 >
17+ < p className = "team_desc" dangerouslySetInnerHTML = { { __html : dataSource . info . desc } } />
18+ < h3 className = "team_title" > PMC</ h3 >
19+ < p className = "team_desc" > { dataSource . info . tip } </ p >
20+ < ul className = "character_list" >
21+ {
22+ dataSource . pmc . map ( ( item , i ) => (
23+ < li key = { i } className = "character_item text_center" style = { { 'listStyle' : 'none' } } >
24+ < a href = { 'https://github.com/' + item . githubId } target = "_blank" >
25+ < img className = "character_avatar" src = { item . avatarUrl } alt = { item . name } />
26+ < div className = "character_desc" >
27+ < h3 className = "character_name" > { item . name } </ h3 >
28+ < h3 className = "character_id" > < span class = "mdi--github" > </ span > { item . githubId } </ h3 >
29+ </ div >
30+ </ a >
31+ </ li >
32+ ) )
33+ }
34+ </ ul >
3535
36- < h3 className = "team_title" > Committers</ h3 >
37- < p className = "team_desc" > { dataSource . info . tip } </ p >
38- < ul className = "character_list" >
39- {
40- dataSource . committer . map ( ( item , i ) => (
41- < a href = { 'https://github.com/' + item . githubId } key = { i } target = "_blank" >
42- < li className = "character_item text_center" style = { { 'listStyle' : 'none' } } >
43- < img className = "character_avatar" src = { item . avatarUrl } alt = { item . name } />
44- < div className = "character_desc" >
45- < h3 className = "character_name" > { item . name } </ h3 >
46- < h3 className = "character_id" > < span className = "githubId" > githubId: </ span > { item . githubId } </ h3 >
47- </ div >
48- </ li >
49- </ a >
50- ) )
51- }
52- </ ul >
53- </ div >
54- </ div >
55- </ Layout >
56- ) ;
36+ < h3 className = "team_title" > Committers</ h3 >
37+ < p className = "team_desc" > { dataSource . info . tip } </ p >
38+ < ul className = "character_list" >
39+ {
40+ dataSource . committer . map ( ( item , i ) => (
41+ < li key = { i } className = "character_item text_center" style = { { 'listStyle' : 'none' } } >
42+ < a href = { 'https://github.com/' + item . githubId } target = "_blank" >
43+ < img className = "character_avatar" src = { item . avatarUrl } alt = { item . name } />
44+ < div className = "character_desc" >
45+ < h3 className = "character_name" > { item . name } </ h3 >
46+ < h3 className = "character_id" > < span class = "mdi--github" > </ span > { item . githubId } </ h3 >
47+ </ div >
48+ </ a >
49+ </ li >
50+ ) )
51+ }
52+ </ ul >
53+ </ div >
54+ </ div >
55+ </ Layout >
56+ ) ;
5757}
0 commit comments