feat: add award badge to profiles

This commit is contained in:
Mrugesh Mohapatra
2018-08-14 01:51:07 +05:30
committed by Stuart Taylor
parent c80bc0086e
commit b647012ba0

View File

@ -1,6 +1,8 @@
import React from 'react'; import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import { Col, Row } from 'react-bootstrap'; import { Col, Row } from 'react-bootstrap';
import FontAwesomeIcon from '@fortawesome/react-fontawesome';
import { faAward } from '@fortawesome/free-solid-svg-icons';
import SocialIcons from '../../Profile/components/SocialIcons.jsx'; import SocialIcons from '../../Profile/components/SocialIcons.jsx';
@ -67,7 +69,9 @@ function Camper({
{ yearsTopContributor.length > 0 && { yearsTopContributor.length > 0 &&
( (
<p className='text-center yearsTopContributor'> <p className='text-center yearsTopContributor'>
Top Contributor of { joinArray(yearsTopContributor) } <FontAwesomeIcon
icon={faAward}
/> Top Contributor of { joinArray(yearsTopContributor) }
</p> </p>
) )
} }