mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-09 12:06:40 +00:00
edit profile presentation
This commit is contained in:
parent
847af617ca
commit
f54ad80aa2
1 changed files with 4 additions and 4 deletions
|
|
@ -189,7 +189,7 @@ const Profile: FC<IProps> = ({dev}) => {
|
|||
</div>
|
||||
) : (
|
||||
dev.repos.map((r: Repo, i: number) => (
|
||||
<div className="repo bg-white my-1 p-1">
|
||||
<div className="repo bg-white my-1 p-1" key={i}>
|
||||
<div>
|
||||
<h4>
|
||||
<a href={r.url}>{r.name}</a>
|
||||
|
|
@ -199,13 +199,13 @@ const Profile: FC<IProps> = ({dev}) => {
|
|||
<div>
|
||||
<ul>
|
||||
<li className="badge badge-primary">
|
||||
<FontAwesomeIcon icon={faStar} /> Stars: 42
|
||||
<FontAwesomeIcon icon={faStar} /> Stars: {r.stars}
|
||||
</li>
|
||||
<li className="badge badge-dark">
|
||||
<FontAwesomeIcon icon={faEye} /> Watchers: 2
|
||||
<FontAwesomeIcon icon={faEye} /> Watchers: {r.watchers}
|
||||
</li>
|
||||
<li className="badge badge-light">
|
||||
<FontAwesomeIcon icon={faCodeBranch} /> Forks: 4
|
||||
<FontAwesomeIcon icon={faCodeBranch} /> Forks: {r.forks}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue