@fortawesome/free-brands-svg-icons#faDiscord JavaScript Examples

The following examples show how to use @fortawesome/free-brands-svg-icons#faDiscord. 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: footer.js    From tmc-wiki with MIT License 6 votes vote down vote up
Footer = ({post}) => (
    <div>
    <footer class="page-footer font-small special-color-dark pt-4">
      <div class="container">
        <ul class="list-unstyled list-inline text-center">

          <li class="list-inline-item">
            <a class="btn-floating btn-fb mx-1" href="https://github.com/Jackbaude/tmc-wiki" target="_blank"rel="noreferrer noopener">
              <FontAwesomeIcon icon={faGithub} size="2x"/>
            </a>
          </li>

          <li class="list-inline-item">
            <a class="btn-floating btn-tw mx-1" href="https://discord.gg/FcTFg2E" target="_blank"rel="noreferrer noopener">
              <FontAwesomeIcon icon={faDiscord} size="2x"/>
            </a>
          </li>

          <li class="list-inline-item">
            <a class="btn-floating btn-gplus mx-1" href="https://www.youtube.com/channel/UCf9SYal_h3WSoksvxLYruuQ"target="_blank"rel="noreferrer noopener">
              <FontAwesomeIcon icon={faYoutube} size="2x"/>
            </a>
          </li>
        </ul>

      </div>

      <div class="footer-copyright text-center py-3">© 2020 Copyright:
        <a href="www.technicalmc.xyz/"> technicalmc.xyz</a>
      </div>
    </footer>
    </div>
)
Example #2
Source File: App.js    From lrc-staking-dapp with MIT License 6 votes vote down vote up
library.add(
  far,
  fas,
  faBookReader,
  faArrowLeft,
  faArrowRight,
  faQuestionCircle,
  faCopy,
  faSignOutAlt,
  faEdit,
  faAngleDown,
  faExternalLinkAlt,
  fab,
  faEthereum,
  faTwitter,
  faDiscord,
  faUnlink,
  faSearch,
  faFortAwesome,
  faExchangeAlt,
  faChartPie,
  faGlobe,
  faDonate,
  faDollarSign,
);
Example #3
Source File: nav.js    From tmc-wiki with MIT License 5 votes vote down vote up
Nav = ({ post }) => (
  <nav className="navbar navbar-expand-lg">
    <a className="navbar-brand" href="/"><h5 className="brand-name display-4 animate__animated animate__flipInX"></h5></a>
    <button className="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <span className="navbar-toggler-icon"></span>
    </button>

    <div className="collapse navbar-collapse" id="navbarSupportedContent">
      <ul className="navbar-nav mr-auto">
        <li className="nav-item active">
          <a className="nav-link" href="/posts">Posts<span className="sr-only">(current)</span></a>
        </li>
        <li className="nav-item">
          <a className="nav-link" href="https://github.com/Jackbaude/tmc-wiki" target="_blank"rel="noreferrer noopener"><FontAwesomeIcon icon={faGithub}/> Github</a>
        </li>
        <li className="nav-item dropdown">
          <a className="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
            More
          </a>
          <div className="dropdown-menu" aria-labelledby="navbarDropdown">
            <a className="dropdown-item" href="https://discord.gg/FcTFg2E" target="_blank"rel="noreferrer noopener"><FontAwesomeIcon icon={faDiscord}/> Discord</a>
            <div className="dropdown-divider"></div>
            <a className="dropdown-item" href="https://www.youtube.com/channel/UCf9SYal_h3WSoksvxLYruuQ"target="_blank"rel="noreferrer noopener"> <FontAwesomeIcon icon={faYoutube}/> Youtube</a>


          </div>
        </li>
      </ul>
      <StaticQuery
    query={graphql`
        query SearchIndexQuery {
          siteSearchIndex {
            index
          }
        }
      `}
    render={data => (
      <Search searchIndex={data.siteSearchIndex.index}/>
    )}
  />
    </div>
  </nav>
)
Example #4
Source File: SocialIcons.js    From bonded-stablecoin-ui with MIT License 5 votes vote down vote up
SocialIcons = ({size = "full", centered = false, gaLabel}) => { // type full or short
  const { t } = useTranslation();
  const { lang } = useSelector((state) => state.settings);

  const links = [
    {
      name: "discord",
      icon: faDiscord,
      link: "https://discord.obyte.org/"
    },
    {
      name: "telegram",
      icon: faTelegram,
      link: "https://t.me/obyteorg",
      link_ru: "https://t.me/obyte_ru"
    },
    {
      name: "weixin",
      icon: faWeixin,
      link: "https://mp.weixin.qq.com/s/JB0_MlK6w--D6pO5zPHAQQ"
    },
    {
      name: "twitter",
      icon: faTwitter,
      link: "https://twitter.com/ObyteOrg"
    },
    {
      name: "youtube",
      icon: faYoutube,
      link: "https://www.youtube.com/channel/UC59w9bmROOeUFakVvhMepPQ/"
    },
    {
      name: "medium",
      icon: faMediumM,
      link: "https://blog.obyte.org"
    },
    {
      name: "reddit",
      icon: faRedditAlien,
      link: "https://www.reddit.com/r/obyte/"
    },
    {
      name: "bitcoin",
      icon: faBitcoin,
      link: "https://bitcointalk.org/index.php?topic=1608859.0"
    },
    {
      name: "facebook",
      icon: faFacebook,
      link: "https://www.facebook.com/obyte.org"
    }
  ];

  const gaTracking = (name) => {
    ReactGA.event({
      category: "Social",
      action: "Click to " + name,
      label: gaLabel
    })
  }

  return (<div style={{ textAlign: "center", fontSize: 14 }}>
    {size === "full" && <div style={{ marginBottom: 10 }}><Text type="secondary">{t("footer.join_community", "Join the community, get help")}:</Text></div>}
    <div style={{ display: "flex", justifyContent: centered ? "center" : "flex-start", flexWrap: "wrap", alignItems: "center", fontSize: 18 }}>
      {(size === "full" ? links : links.slice(0,5)).map((social) => <a style={{ margin: "5px 10px", color: "#0037ff" }} key={"link-" + social.name} target="_blank" rel="noopener" href={(lang && social["link_" + lang]) || social.link} onClick={() => gaTracking(social.name)}><FontAwesomeIcon size="lg" icon={social.icon} /></a>)}
    </div>
  </div>)
}
Example #5
Source File: index.jsx    From loopring-swap with GNU General Public License v3.0 5 votes vote down vote up
Support = () => {
    return (
        <>
            <ListItemHeader mb={2}>
                <FormattedMessage id="drawer.wallet.connect.list.header.support" />
            </ListItemHeader>
            <UndecoratedLink
                href="https://medium.com/loopring-protocol/loopring-exchange-faq-196d6c40f6cf"
                target="_blank"
                rel="noreferrer noopener"
            >
                <ListItemBox>
                    <ListItemIcon icon={faQuestionCircle} />{" "}
                    <FormattedMessage id="drawer.wallet.connect.list.item.faq" />
                </ListItemBox>
            </UndecoratedLink>
            <UndecoratedLink
                href="https://t.me/loopring_en"
                target="_blank"
                rel="noreferrer noopener"
            >
                <ListItemBox>
                    <ListItemIcon icon={faTelegram} />{" "}
                    <FormattedMessage id="drawer.wallet.connect.list.item.telegram" />
                </ListItemBox>
            </UndecoratedLink>
            <UndecoratedLink
                href="https://discordapp.com/invite/KkYccYp"
                target="_blank"
                rel="noreferrer noopener"
            >
                <ListItemBox>
                    <ListItemIcon icon={faDiscord} />{" "}
                    <FormattedMessage id="drawer.wallet.connect.list.item.discord" />
                </ListItemBox>
            </UndecoratedLink>
            <UndecoratedLink
                href="https://github.com/Loopring/dexwebapp/issues/new"
                target="_blank"
                rel="noreferrer noopener"
            >
                <ListItemBox>
                    <ListItemIcon icon={faQuestionCircle} />{" "}
                    <FormattedMessage id="drawer.wallet.connect.list.item.bug.report" />
                </ListItemBox>
            </UndecoratedLink>
        </>
    );
}
Example #6
Source File: footer.js    From nashvillefccwebsite with MIT License 5 votes vote down vote up
function footer() {
  return (
    <footer>
      <nav className={componentStyles.footerNav}>
        <Connect className={componentStyles.connectLogo} alt={`Connect Logo`} />
        <div className={componentStyles.socials}>
          <a
            href="https://www.meetup.com/freeCodeCamp-Nashville/"
            aria-label="Meetup"
            rel="noopener noreferrer"
            target="_blank"
          >
            <FontAwesomeIcon icon={faMeetup} size="1x" color="#444444" />
          </a>
          <a
            href="https://discord.gg/cX9BkKrAPV"
            aria-label="Discord"
            rel="noopener noreferrer"
            target="_blank"
          >
            <FontAwesomeIcon icon={faDiscord} size="1x" color="#444444" />
          </a>
          <a
            href="https://nashdev.com/"
            aria-label="Slack"
            rel="noopener noreferrer"
            target="_blank"
          >
            <FontAwesomeIcon icon={faSlack} size="1x" color="#444444" />
          </a>
          <a
            href="https://github.com/nashvillefcc/"
            aria-label="GitHub"
            rel="noopener noreferrer"
            target="_blank"
          >
            <FontAwesomeIcon icon={faGithub} size="1x" color="#444444" />
          </a>
          <a
            href="https://twitter.com/nashvillefcc/"
            aria-label="Twitter"
            rel="noopener noreferrer"
            target="_blank"
          >
            <FontAwesomeIcon icon={faTwitter} size="1x" color="#444444" />
          </a>
          <a
            href="https://www.facebook.com/groups/free.code.camp.nashville/permalink/1479740658703738/"
            aria-label="Facebook"
            rel="noopener noreferrer"
            target="_blank"
          >
            <FontAwesomeIcon icon={faFacebook} size="1x" color="#444444" />
          </a>
        </div>
        <div className={componentStyles.emailAndCopyright}>
          <div>
            <a
              href="mailto:[email protected]"
              className={componentStyles.emailLink}
            >
              <FontAwesomeIcon icon={faEnvelope} size="2x" color="white" />
              <p className={componentStyles.emailName}>[email protected]</p>{' '}
              {/* This will change to something else once we setup a domain */}
            </a>
            <p>© 2021 FreeCodeCamp Nashville</p>
          </div>

          <a href="https://www.netlify.com">
            <img
              src="https://www.netlify.com/img/global/badges/netlify-color-accent.svg"
              alt="Deploys by Netlify"
            />
          </a>
        </div>
      </nav>
    </footer>
  );
}
Example #7
Source File: Footer.js    From Women-in-Technology with MIT License 4 votes vote down vote up
export default function Footer() {    
  return (
    <footer className="site-footer">
      <div className="container">
        <div className="row justify-content-between">
        <div className='col-sm-5 col-md-2'>
              <img src={logo} alt='' className='imgg' />
        </div>
          <div className="col-sm-2 col-md-6">
            <h6>About</h6>
            <p className="text-justify">
              Women in Technology empowers women and young girls wanting to
              pursue Computer Science all around the world by increasing
              visibility of resources and opportunities, sharing inspirational
              stories of successful professionals in STEM and through our
              amazing Discord community of women uplifting each other.
            </p>
          </div>

          <div className="col-sm-2 col-md-28">
            <h6>Quick Links</h6>
            <ul className="footer-links">
              <li>
                <a href="/community">About Us</a>
              </li>
              <li>
                <a
                  href="https://discord.com/invite/xvzbAXk"
                  target="_blank"
                  rel="noreferrer"
                >
                  Contact Us
                </a>
              </li>
              <li>
                <a href="/contributing">Contribute</a>
              </li>
              <li>
                <a href="#">Privacy Policy</a>
              </li>
            </ul>
          </div>
        </div>
        <hr />
      </div>
      <div className="container">
        <div className="row">
          <div className="col-md-9 col-sm-6 col-xs-12">
            <p className="copyright-text">
              Copyright &copy; 2021 All Rights Reserved by <a href="https://women-in-technology-wit.web.app/">Women in Technology</a>.
            </p>
          </div>

          <div className="col-md-3 col-sm-6 col-xs-12">
            <ul className="social-icons">
              <li>
                <a>
                  <DarkMode />
                </a>
              </li>
              <li>
                <a
                  className="github"
                  target="_blank"
                  rel="noreferrer noopener"
                  href="https://github.com/shikha-16/Women-in-Technology"
                >
                  <FontAwesomeIcon icon={faGithub} />
                </a>
              </li>
              <li>
                <a
                  className="discord"
                  target="_blank"
                  rel="noreferrer noopener"
                  href="https://discord.com/invite/xvzbAXk"
                >
                  <FontAwesomeIcon icon={faDiscord} />
                </a>
              </li>
              <li>
                <a
                  className="gmail"
                  target="_blank"
                  rel="noreferrer noopener"
                  href="mailto:[email protected]?subject=Test email, please change this"
                >
                  <FontAwesomeIcon icon={faGoogle} />
                </a>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </footer>
  );
}