File tree Expand file tree Collapse file tree 2 files changed +20
-5
lines changed Expand file tree Collapse file tree 2 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,25 @@ const RepositoryItem = ({ details }: { details: RepositoryCardProps }) => {
6363 </ button >
6464
6565 < div className = "space-y-2 text-sm" >
66- < InfoItem icon = { faStar } unit = "Star" value = { details . starsCount } />
67- < InfoItem icon = { faCodeFork } unit = "Fork" value = { details . forksCount } />
68- < InfoItem icon = { faUsers } unit = "Contributor" value = { details . contributorsCount } />
69- < InfoItem icon = { faExclamationCircle } unit = "Issue" value = { details . openIssuesCount } />
66+ < InfoItem icon = { faStar } pluralizedName = "Stars" unit = "Stars" value = { details . starsCount } />
67+ < InfoItem
68+ icon = { faCodeFork }
69+ pluralizedName = "Forks"
70+ unit = "Forks"
71+ value = { details . forksCount }
72+ />
73+ < InfoItem
74+ icon = { faUsers }
75+ pluralizedName = "Contributors"
76+ unit = "Contributors"
77+ value = { details . contributorsCount }
78+ />
79+ < InfoItem
80+ icon = { faExclamationCircle }
81+ pluralizedName = "Issues"
82+ unit = "Issues"
83+ value = { details . openIssuesCount }
84+ />
7085 </ div >
7186 </ div >
7287 )
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export const GET_ORGANIZATION_DATA = gql`
4040 title
4141 url
4242 }
43- recentReleases(limit: 6 , organization: $login, distinct: true) {
43+ recentReleases(limit: 9 , organization: $login, distinct: true) {
4444 author {
4545 avatarUrl
4646 login
You can’t perform that action at this time.
0 commit comments