mirror of
https://github.com/Steffo99/steffoweb.git
synced 2024-11-24 09:04:30 +00:00
🔧 Add stargazers link
This commit is contained in:
parent
eea825074f
commit
23463ecb0d
2 changed files with 5 additions and 3 deletions
|
@ -30,7 +30,7 @@ export function MoreProjects({user, minus}) {
|
||||||
else if(error !== null) return "Error: {error}"
|
else if(error !== null) return "Error: {error}"
|
||||||
return `...and ${data["public_repos"] - minus} more!`
|
return `...and ${data["public_repos"] - minus} more!`
|
||||||
},
|
},
|
||||||
[data, error]
|
[data, error, minus]
|
||||||
)
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -55,11 +55,13 @@ export function Project({user, repo}) {
|
||||||
{data["description"]}
|
{data["description"]}
|
||||||
</div>
|
</div>
|
||||||
<div className={Style.Stars}>
|
<div className={Style.Stars}>
|
||||||
|
<Anchor href={`https://github.com/${user}/${repo}/stargazers`}>
|
||||||
<FontAwesomeIcon icon={faStar}/> {data["stargazers_count"]}
|
<FontAwesomeIcon icon={faStar}/> {data["stargazers_count"]}
|
||||||
|
</Anchor>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
},
|
},
|
||||||
[data, error]
|
[user, repo, data, error]
|
||||||
)
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue