11import { FC } from "react" ;
2- import { Col , Row } from '@douyinfe/semi-ui' ;
2+ import { Row , Col , Descriptions } from '@douyinfe/semi-ui' ;
33import styles from "./styles.module.scss" ;
4+ import Image from "next/image" ;
5+ import ContributorForQQ from '@/public/contributor_1.png' ;
6+ import ContributorForWechat from '@/public/contributor_2.png' ;
47
58export interface IContributorsProps {
69}
710
811const Contributors : FC < IContributorsProps > = ( { } ) => {
912 return (
1013 < div className = { styles . contributorsContainer } >
11- < Row className = { styles . row } type = "flex" align = "middle" >
12- < Col span = { 7 } >
13- < div className = { styles . title } > 参与建设</ div >
14- < div className = { styles . description } > 很多小伙伴在和我们一同建设 IoTSharp,如果你有兴趣,欢迎加入我们 。</ div >
14+ < p className = { styles . title } > 与用户共同成长</ p >
15+ < p className = { styles . subTitle } > IoTSharp 重视我们的用户,加入并助力我们不断完善</ p >
16+ < Descriptions align = "center" size = "large" row >
17+ < Descriptions . Item itemKey = "Stars" > 795+</ Descriptions . Item >
18+ < Descriptions . Item itemKey = "Fork" > 1100+</ Descriptions . Item >
19+ < Descriptions . Item itemKey = "Download" > 1000+</ Descriptions . Item >
20+ < Descriptions . Item itemKey = "Contributors" > 30+</ Descriptions . Item >
21+ </ Descriptions >
22+ < Row gutter = { 80 } >
23+ < Col xs = { 24 } sm = { 24 } md = { 12 } lg = { 12 } xl = { 12 } >
24+ < Image src = { ContributorForQQ } alt = "" width = { 90 } height = { 90 } />
1525 </ Col >
16- < Col span = { 10 } offset = { 2 } >
17- < a href = "https://github.com/iotsharp/iotsharp/graphs/contributors" >
18- < img src = "https://contrib.rocks/image?repo=iotsharp/iotsharp" />
19- </ a >
20- < a href = "https://github.com/iotsharp/ClientAppWithVue3/graphs/contributors" >
21- < img src = "https://contrib.rocks/image?repo=iotsharp/ClientAppWithVue3" />
22- </ a >
26+ < Col xs = { 24 } sm = { 24 } md = { 12 } lg = { 12 } xl = { 12 } >
27+ < Image src = { ContributorForWechat } alt = "" width = { 90 } height = { 90 } />
2328 </ Col >
2429 </ Row >
2530 </ div >
2631 ) ;
2732} ;
2833
29- export default Contributors ;
34+ export default Contributors ;
0 commit comments