|
|
|
@ -16,7 +16,7 @@ class IndexItem extends Component{
|
|
|
|
|
<img className="p-r-photo" alt="" src={getImageUrl(`images/${item.author && item.author.image_url}`)} ></img>
|
|
|
|
|
<div className="p-r-Infos">
|
|
|
|
|
<div className="p-r-name">
|
|
|
|
|
<Link to={`/projects/${item.id}/root`} className="hide-1 font-16 color-grey-3" style={{whiteSpace:"wrap"}}>{item.name}</Link>
|
|
|
|
|
<Link to={`/projects/${item.id}`} className="hide-1 font-16 color-grey-3" style={{whiteSpace:"wrap"}}>{item.name}</Link>
|
|
|
|
|
<span className="p-r-tags">
|
|
|
|
|
{ item.forked_count ? <span><label>Fork</label><span>{ item.forked_count}</span></span>:"" }
|
|
|
|
|
<span><label>Start</label><span>{ item.praises_count }</span></span>
|
|
|
|
|