Skip to content

Commit 3f0dad2

Browse files
chore: shift the github icon to left side of login
1 parent 3536e8e commit 3f0dad2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/app/contributors/page.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,7 @@ const Contributors = () => {
3232
src={contributor.avatar_url}
3333
alt={`Contributor ${contributor.login}`}
3434
/>
35-
<h5 className='text-xl font-medium text-gray-900 text-center'>
36-
{contributor.login}
37-
</h5>
38-
<p className='text-sm text-gray-500 text-center'>
39-
Contributions: {contributor.contributions}
40-
</p>
41-
<div className='flex justify-center mt-4'>
35+
<div className='flex justify-center items-center gap-2 mt-4 '>
4236
<Link href={contributor.html_url!} target='_blank'>
4337
<Image
4438
src={github}
@@ -47,7 +41,13 @@ const Contributors = () => {
4741
alt='github_img'
4842
/>
4943
</Link>
44+
<h5 className='text-xl font-medium text-gray-900 text-center'>
45+
{contributor.login}
46+
</h5>
5047
</div>
48+
<p className='text-sm text-gray-500 text-center'>
49+
Contributions: {contributor.contributions}
50+
</p>
5151
</div>
5252
</div>
5353
))}

0 commit comments

Comments
 (0)