edit profile presentation

This commit is contained in:
Ruidy Nemausat 2020-05-20 17:59:41 +02:00
parent 847af617ca
commit f54ad80aa2

View file

@ -189,7 +189,7 @@ const Profile: FC<IProps> = ({dev}) => {
</div> </div>
) : ( ) : (
dev.repos.map((r: Repo, i: number) => ( 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> <div>
<h4> <h4>
<a href={r.url}>{r.name}</a> <a href={r.url}>{r.name}</a>
@ -199,13 +199,13 @@ const Profile: FC<IProps> = ({dev}) => {
<div> <div>
<ul> <ul>
<li className="badge badge-primary"> <li className="badge badge-primary">
<FontAwesomeIcon icon={faStar} /> Stars: 42 <FontAwesomeIcon icon={faStar} /> Stars: {r.stars}
</li> </li>
<li className="badge badge-dark"> <li className="badge badge-dark">
<FontAwesomeIcon icon={faEye} /> Watchers: 2 <FontAwesomeIcon icon={faEye} /> Watchers: {r.watchers}
</li> </li>
<li className="badge badge-light"> <li className="badge badge-light">
<FontAwesomeIcon icon={faCodeBranch} /> Forks: 4 <FontAwesomeIcon icon={faCodeBranch} /> Forks: {r.forks}
</li> </li>
</ul> </ul>
</div> </div>