File tree Expand file tree Collapse file tree 4 files changed +63
-3
lines changed
public/images/social-media Expand file tree Collapse file tree 4 files changed +63
-3
lines changed Original file line number Diff line number Diff line change 33import Link from "next/link" ;
44import React from "react" ;
55import github from "../../../public/images/social-media/github.png" ;
6+ import contributorImg from "../../../public/images/social-media/contributor.svg" ;
7+ import prImg from "../../../public/images/social-media/pull-request.svg" ;
8+ import issueImg from "../../../public/images/social-media/git-issue.svg" ;
69import Image from "next/image" ;
710import contributorList from "../projects/assets/contributors.json" ;
811
@@ -45,9 +48,49 @@ const Contributors = () => {
4548 { contributor . login }
4649 </ h5 >
4750 </ div >
48- < p className = 'text-sm text-gray-500 text-center' >
49- Contributions: { contributor . contributions }
50- </ p >
51+ < footer >
52+ < div className = 'grid grid-cols-3 divide-x' >
53+ < div className = 'flex justify-center items-center gap-1 mt-4 ' >
54+ < div >
55+ < Image
56+ src = { contributorImg }
57+ height = { 20 }
58+ width = { 20 }
59+ alt = 'github_img'
60+ />
61+ </ div >
62+ < p className = 'text-sm text-gray-500 text-center' >
63+ { contributor . contributions }
64+ </ p >
65+ </ div >
66+ < div className = 'flex justify-center items-center gap-1 mt-4 ' >
67+ < div >
68+ < Image
69+ src = { prImg }
70+ height = { 20 }
71+ width = { 20 }
72+ alt = 'github_img'
73+ />
74+ </ div >
75+ < p className = 'text-sm text-gray-500 text-center' >
76+ { contributor . contributions / 2 }
77+ </ p >
78+ </ div >
79+ < div className = 'flex justify-center items-center gap-1 mt-4 ' >
80+ < div >
81+ < Image
82+ src = { issueImg }
83+ height = { 20 }
84+ width = { 20 }
85+ alt = 'github_img'
86+ />
87+ </ div >
88+ < p className = 'text-sm text-gray-500 text-center' >
89+ { contributor . contributions / 4 }
90+ </ p >
91+ </ div >
92+ </ div >
93+ </ footer >
5194 </ div >
5295 </ div >
5396 ) ) }
You can’t perform that action at this time.
0 commit comments