@fortawesome/free-regular-svg-icons#faCompass JavaScript Examples

The following examples show how to use @fortawesome/free-regular-svg-icons#faCompass. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CardMetadata.js    From TalkTrack with MIT License 6 votes vote down vote up
export default function talkMetadata({ includeSlides, talk }) {
  return (
    <div className="card-metadata">
      <span>
        <FontAwesomeIcon className="icon" icon={faCalendar} /> {talk.date}
      </span>
      <span className="separator">|</span>
      <span>
        <FontAwesomeIcon className="icon" icon={faCompass} />
        {talk.conference}
      </span>
      {includeSlides && (
        <>
          <span className="separator">|</span>
          <a href={talk.slides} target="_blank" rel="noopener noreferrer">
            <FontAwesomeIcon className="icon" icon={faFileAlt} /> Slides
          </a>
        </>
      )}
    </div>
  );
}