File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,14 @@ <h3 style="text-align: center;">NWoC 2020 Leaderboard</h3>
130130 }
131131 table += '<tr>' ;
132132 table += '<td>' + pos + '</td>' ;
133- table += '<td class=\'handle\'><a href=\'https://github.com/' + sortedData [ i ] . username + '\' target=\'_blank\'>' + sortedData [ i ] . username + '</a></td>' ;
133+ table += (
134+ '<td class=\'handle\'><a href=\'https://github.com/'
135+ + sortedData [ i ] . username
136+ + '\' target=\'_blank\'>'
137+ + `<img style='width: 22px; border-radius: 100%;' src='https://avatars.githubusercontent.com/${ sortedData [ i ] . username } ' alt=${ sortedData [ i ] . username } /> `
138+ + sortedData [ i ] . username
139+ + '</a></td>'
140+ ) ;
134141 table += '<td>' + sortedData [ i ] . score + '</td>' ;
135142 table += '</tr>' ;
136143 }
You can’t perform that action at this time.
0 commit comments