fix: update styles and text

This commit is contained in:
Mrugesh Mohapatra
2018-08-14 23:48:38 +05:30
committed by Stuart Taylor
parent b647012ba0
commit a505afb75c

View File

@ -66,13 +66,19 @@ function Camper({
</p> </p>
) : null ) : null
} }
{ yearsTopContributor.length > 0 && { yearsTopContributor.filter(Boolean).length > 0 &&
( (
<div>
<br/>
<p className='text-center yearsTopContributor'> <p className='text-center yearsTopContributor'>
<FontAwesomeIcon <FontAwesomeIcon
icon={faAward} icon={faAward}
/> Top Contributor of { joinArray(yearsTopContributor) } /> Top Contributor
</p> </p>
<p className='text-center'>
{ joinArray(yearsTopContributor) }
</p>
</div>
) )
} }
<br/> <br/>