@fortawesome/fontawesome-svg-core#icon JavaScript Examples

The following examples show how to use @fortawesome/fontawesome-svg-core#icon. 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: realfile.js    From ActiveLearningStudio-react-client with GNU Affero General Public License v3.0 5 votes vote down vote up
ActivityCardBox = ({ img, title, description }) => {
  return (
    <div className="curriki-utility-activity-card">
      <div className="published_card">
        <div className="published_card_header">
          <div className="published_card_text">
            <p>
              <span></span> Published
            </p>
          </div>
          <div className="published_card_icon">
            <ActivityCardDropDown />
          </div>
        </div>
        <div>
          <img src={img} alt="" />
        </div>
        <div className="published-card-detail">
          <div className="published-card-title">
            <h4>{title}</h4>
          </div>
          <div className="published-card-dialog">
            <img src={Jeshoots} alt="" />
            <p>Dialog Card</p>
          </div>
          <div className="published-card-descrption">
            <p>{description}</p>
            <h3>Completed: 100%</h3>
          </div>
          <div className="published-card-in-links">
            <h3>Published in</h3>
            <div className="published-card-links">
              <a className="card-links" href="#">
                Project #4
              </a>
              <a className="card-links" href="#">
                Project #2
              </a>
              <FontAwesomeIcon
                icon={faShareAlt}
                className="published-share-icon"
              />
            </div>
          </div>
        </div>
      </div>
    </div>
  );
}