11import { FC } from "react" ;
2- import { Col , Row } from '@douyinfe/semi-ui' ;
2+ import { Row , Col , Descriptions , Card , Avatar , Space , Button , Typography } from '@douyinfe/semi-ui' ;
33import styles from "./styles.module.scss" ;
44
55export interface IContributorsProps {
66}
77
88const Contributors : FC < IContributorsProps > = ( { } ) => {
9+ const { Meta } = Card ;
10+ const { Text } = Typography ;
911 return (
1012 < 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 >
15- </ 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 >
23- </ Col >
24- </ Row >
13+ < p className = { styles . title } > 与用户共同成长</ p >
14+ < p className = { styles . subTitle } > IoTSharp 重视我们的用户,加入并助力我们不断完善</ p >
15+ < Descriptions align = "center" size = "large" row >
16+ < Descriptions . Item itemKey = "Stars" > 795+</ Descriptions . Item >
17+ < Descriptions . Item itemKey = "Fork" > 1100+</ Descriptions . Item >
18+ < Descriptions . Item itemKey = "Download" > 1000+</ Descriptions . Item >
19+ < Descriptions . Item itemKey = "Contributors" > 30+</ Descriptions . Item >
20+ </ Descriptions >
21+ < div className = { styles . imageBox } >
22+ < Row gutter = { 32 } type = "flex" align = "top" >
23+ < Col span = { 8 } >
24+ < Card
25+ footerLine = { false }
26+ headerLine = { false }
27+ title = {
28+ < Meta
29+ title = ""
30+ description = ""
31+ avatar = {
32+ < Avatar
33+ alt = 'Card meta img'
34+ size = "default"
35+ src = 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/card-meta-avatar-docs-demo.jpg'
36+ />
37+ }
38+ />
39+ }
40+ footerStyle = { { display : 'flex' , justifyContent : 'flex-end' } }
41+ footer = {
42+ < Space >
43+ < div > @Mengzhou</ div >
44+ </ Space >
45+ }
46+ >
47+ 接入简单易上手;API 丰富全面。
48+ </ Card >
49+ </ Col >
50+ < Col span = { 8 } >
51+ < Card
52+ footerLine = { false }
53+ headerLine = { false }
54+ title = {
55+ < Meta
56+ title = ""
57+ description = ""
58+ avatar = {
59+ < Avatar
60+ alt = 'Card meta img'
61+ size = "default"
62+ src = 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/card-meta-avatar-docs-demo.jpg'
63+ />
64+ }
65+ />
66+ }
67+ footerStyle = { { display : 'flex' , justifyContent : 'flex-end' } }
68+ footer = {
69+ < Space >
70+ < div > @Mengzhou</ div >
71+ </ Space >
72+ }
73+ >
74+ 有很多公司内的其他业务使用,有比较多的样例参考,参考其他业务平台的设计方案,统一平台的交付标准。
75+ </ Card >
76+ </ Col >
77+ < Col span = { 8 } >
78+ < Card
79+ footerLine = { false }
80+ headerLine = { false }
81+ title = {
82+ < Meta
83+ title = ""
84+ description = ""
85+ avatar = {
86+ < Avatar
87+ alt = 'Card meta img'
88+ size = "default"
89+ src = 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/card-meta-avatar-docs-demo.jpg'
90+ />
91+ }
92+ />
93+ }
94+ footerStyle = { { display : 'flex' , justifyContent : 'flex-end' } }
95+ footer = {
96+ < Space >
97+ < div > @Mengzhou</ div >
98+ </ Space >
99+ }
100+ >
101+ 接入简单易上手;API 丰富全面。
102+ </ Card >
103+ </ Col >
104+ < Col span = { 8 } >
105+ < Card
106+ footerLine = { false }
107+ headerLine = { false }
108+ title = {
109+ < Meta
110+ title = ""
111+ description = ""
112+ avatar = {
113+ < Avatar
114+ alt = 'Card meta img'
115+ size = "default"
116+ src = 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/card-meta-avatar-docs-demo.jpg'
117+ />
118+ }
119+ />
120+ }
121+ footerStyle = { { display : 'flex' , justifyContent : 'flex-end' } }
122+ footer = {
123+ < Space >
124+ < div > @Mengzhou</ div >
125+ </ Space >
126+ }
127+ >
128+ 接入简单易上手;API 丰富全面。
129+ </ Card >
130+ </ Col >
131+ < Col span = { 8 } style = { { marginTop : '40px' } } >
132+ < Card
133+ footerLine = { false }
134+ headerLine = { false }
135+ title = {
136+ < Meta
137+ title = ""
138+ description = ""
139+ avatar = {
140+ < Avatar
141+ alt = 'Card meta img'
142+ size = "default"
143+ src = 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/card-meta-avatar-docs-demo.jpg'
144+ />
145+ }
146+ />
147+ }
148+ footerStyle = { { display : 'flex' , justifyContent : 'flex-end' } }
149+ footer = {
150+ < Space >
151+ < div > @Mengzhou</ div >
152+ </ Space >
153+ }
154+ >
155+ 接入简单易上手。
156+ </ Card >
157+ </ Col >
158+ < Col span = { 8 } >
159+ < Card
160+ footerLine = { false }
161+ headerLine = { false }
162+ title = {
163+ < Meta
164+ title = ""
165+ description = ""
166+ avatar = {
167+ < Avatar
168+ alt = 'Card meta img'
169+ size = "default"
170+ src = 'https://lf3-static.bytednsdoc.com/obj/eden-cn/ptlz_zlp/ljhwZthlaukjlkulzlp/card-meta-avatar-docs-demo.jpg'
171+ />
172+ }
173+ />
174+ }
175+ footerStyle = { { display : 'flex' , justifyContent : 'flex-end' } }
176+ footer = {
177+ < Space >
178+ < div > @Mengzhou</ div >
179+ </ Space >
180+ }
181+ >
182+ 接入简单易上手;API 丰富全面。
183+ </ Card >
184+ </ Col >
185+ </ Row >
186+ </ div >
25187 </ div >
26188 ) ;
27189} ;
28190
29- export default Contributors ;
191+ export default Contributors ;
0 commit comments