@fortawesome/free-solid-svg-icons#faBullhorn JavaScript Examples

The following examples show how to use @fortawesome/free-solid-svg-icons#faBullhorn. 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: index.js    From gatsby-markdown-personal-website with MIT License 5 votes vote down vote up
/* add any additional icon to the library */
library.add(fab, faLaptopCode, faDrawPolygon, faEdit, faEdit, faBullhorn, faMapMarkerAlt, faPhone, faPaperPlane);
Example #2
Source File: icon.js    From uptime-kuma with MIT License 5 votes vote down vote up
library.add(
    faArrowAltCircleUp,
    faCog,
    faEdit,
    faEye,
    faEyeSlash,
    faList,
    faPause,
    faPlay,
    faPlus,
    faSearch,
    faTachometerAlt,
    faTimes,
    faTimesCircle,
    faTrash,
    faCheckCircle,
    faStream,
    faSave,
    faExclamationCircle,
    faBullhorn,
    faArrowsAltV,
    faUnlink,
    faQuestionCircle,
    faImages,
    faUpload,
    faCopy,
    faCheck,
    faFile,
    faAward,
    faLink,
    faChevronDown,
    faSignOutAlt,
    faPen,
    faExternalLinkSquareAlt,
    faSpinner,
    faUndo,
    faPlusCircle,
    faAngleDown,
    faLink,
);
Example #3
Source File: index.js    From Webiu with MIT License 5 votes vote down vote up
Announcements = ({
  data,
  header,
  direction,
  speed,
  horizontal,
  title,
}) => {
  const [scrollAmount, setScrollAmount] = useState(speed)

  return (
    <div className="announcements-section">
      {header ? (
        <div className="header-component">
          <h2 className="title">
            <FontAwesomeIcon className="icon-h2" icon={faBullhorn} /> {header}
          </h2>
        </div>
      ) : null}
      {!horizontal ? (
        <div className="marquee-div">
          {title ? (
            <div className="marquee-heading">
              <p className="marquee-para">{title}</p>
            </div>
          ) : null}
          <div className="marquee-main">
            <marquee direction={direction} scrollamount={scrollAmount}>
              {data
                ? data.map((item, index) => (
                    <div key={index}>
                      <a href={item.link} className="marquee-anchor">
                        <p>{item.text}</p>
                      </a>
                    </div>
                  ))
                : null}
            </marquee>
          </div>
        </div>
      ) : null}
      {horizontal ? (
        <Container>
          <div className="horizontal-marquee">
            <marquee direction={direction} scrollamount={scrollAmount}>
              {data
                ? data.map((item, id) => (
                    <div key={id}>
                      <a href={item.link} className="marquee-anchor">
                        <p>{item.text}</p>
                      </a>
                    </div>
                  ))
                : null}
            </marquee>
          </div>
        </Container>
      ) : null}
    </div>
  )
}