@@ -73,10 +73,6 @@ const ContributorsPage = () => {
7373 < Grid container spacing = { 4 } >
7474 { contributors . map ( ( contributor ) => (
7575 < Grid item xs = { 12 } sm = { 6 } md = { 3 } key = { contributor . id } >
76- < Link
77- to = { `/user/${ contributor . login } ` }
78- style = { { textDecoration : "none" } }
79- >
8076 < Card
8177 sx = { {
8278 textAlign : "center" ,
@@ -93,46 +89,50 @@ const ContributorsPage = () => {
9389 } ,
9490 } }
9591 >
96- < Avatar
97- src = { contributor . avatar_url }
98- alt = { contributor . login }
99- sx = { { width : 100 , height : 100 , mx : "auto" , mb : 2 } }
100- />
92+ < Link
93+ to = { `/contributor/${ contributor . login } ` }
94+ style = { { textDecoration : "none" } }
95+ >
96+ < Avatar
97+ src = { contributor . avatar_url }
98+ alt = { contributor . login }
99+ sx = { { width : 100 , height : 100 , mx : "auto" , mb : 2 } }
100+ />
101+ < CardContent >
102+ < Typography variant = "h6" sx = { { fontWeight : "bold" } } >
103+ { contributor . login }
104+ </ Typography >
101105
102- < CardContent >
103- < Typography variant = "h6" sx = { { fontWeight : "bold" } } >
104- { contributor . login }
105- </ Typography >
106-
107- < Typography variant = "body2" color = "text.secondary" >
108- { contributor . contributions } Contributions
109- </ Typography >
110- { /*
111- <Typography variant="body2" sx={{ mt: 2 }}>
112- Thank you for your valuable contributions to our
113- community!
114- </Typography> */ }
106+ < Typography variant = "body2" color = "text.secondary" >
107+ { contributor . contributions } Contributions
108+ </ Typography >
109+ { /*
110+ <Typography variant="body2" sx={{ mt: 2 }}>
111+ Thank you for your valuable contributions to our
112+ community!
113+ </Typography> */ }
114+ </ CardContent >
115+ </ Link >
115116
116117 < Box sx = { { mt : 2 } } >
117- < Button
118- variant = "contained"
119- startIcon = { < FaGithub /> }
120- href = { contributor . html_url }
121- target = "_blank"
122- sx = { {
123- backgroundColor : "#333333" ,
124- color : "#FFFFFF" ,
125- "&:hover" : {
126- backgroundColor : "#555555" ,
127- } ,
128- } }
129- >
130- GitHub Profile
131- </ Button >
118+ < Button
119+ variant = "contained"
120+ startIcon = { < FaGithub /> }
121+ href = { contributor . html_url }
122+ target = "_blank"
123+ sx = { {
124+ backgroundColor : "#333333" ,
125+ textTransform : "none" ,
126+ color : "#FFFFFF" ,
127+ "&:hover" : {
128+ backgroundColor : "#555555" ,
129+ } ,
130+ } }
131+ >
132+ GitHub
133+ </ Button >
132134 </ Box >
133- </ CardContent >
134135 </ Card >
135- </ Link >
136136 </ Grid >
137137 ) ) }
138138 </ Grid >
0 commit comments