@fortawesome/free-brands-svg-icons#faFacebook TypeScript Examples

The following examples show how to use @fortawesome/free-brands-svg-icons#faFacebook. 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: SocialMediaButtons.tsx    From frontend.ro with MIT License 6 votes vote down vote up
export function FacebookButton({ url }: { url: string }) {
  const share = useSocialShare('Facebook');

  return (
    <a
      onClick={share}
      target="_blank"
      rel="noreferrer"
      href={`https://www.facebook.com/sharer/sharer.php?u=${url}%2F&amp;src=sdkpreparse`}
      className="btn btn--light no-underline btn--with-icon"
    >
      <FontAwesomeIcon icon={faFacebook} height="24" className="mr-2" />
      Share on Facebook
    </a>
  );
}
Example #2
Source File: index.tsx    From bad-cards-game with GNU Affero General Public License v3.0 6 votes vote down vote up
library.add(
  faDotCircle,
  faCircle,
  faBars,
  faTimes,
  faInfoCircle,
  faTrophy,
  faShareSquare,
  faHeart,
  faInstagram,
  faTwitter,
  faGithub,
  faFacebook,
  faHandPointRight,
  faEdit,
  faSave,
  faCamera,
  faPlus,
  faMinus,
  faRandom,
);
Example #3
Source File: Footer.tsx    From Money-printer-go-BRRR with MIT License 6 votes vote down vote up
socialLinks = [
  {
    title: 'Twitter',
    href: `${twitterUrl}/${tweet.handle}`,
    icon: faTwitter,
    color: twitterColor,
  },
  {
    title: 'Facebook',
    href: 'https://fb.me/institute.for.memetic.research.and.development',
    icon: faFacebook,
    color: '#4267B2',
  },
  {
    title: 'GitHub',
    href: 'https://github.com/memetic-institute/Money-printer-go-BRRR',
    icon: faGithub,
    color: black,
  },
]
Example #4
Source File: ReferralView.tsx    From mysterium-vpn-desktop with MIT License 6 votes vote down vote up
facebookLink = (token: string): JSX.Element => {
    const encodedQuote = encodeURI(shareMessage(token))
    const encodedUrl = encodeURI(MYST_APP_URL)
    return (
        <TransparentButton
            onClick={() =>
                shell.openExternal(`https://www.facebook.com/sharer/sharer.php?u=${encodedUrl}&quote=${encodedQuote}`)
            }
            style={{ marginRight: "24px" }}
        >
            <FontAwesomeIcon size="3x" icon={faFacebook} color="#fff" />
        </TransparentButton>
    )
}
Example #5
Source File: icons.font-awesome-brands.ts    From dayz-server-manager with MIT License 5 votes vote down vote up
fontAwesomeBrandsIcons = {
    faGithub,
    faFacebook,
    faFacebookF,
    faGoogle,
    faTwitter,
}
Example #6
Source File: profile.ts    From resume-nextjs with MIT License 5 votes vote down vote up
profile: IProfile.Payload = {
  disable: false,

  // image: 'https://resume.yowu.dev/static/image/profile_2019.png',
  image,
  name: {
    title: 'Lorem ipsum',
    small: '(LI)',
  },
  contact: [
    {
      title: '[email protected]',
      link: '#',
      icon: faEnvelope,
    },
    {
      title: 'Please contact me by email',
      icon: faPhone,
      badge: true,
    },
    {
      title: 'https://github.com',
      link: 'https://github.com/uyu423/resume-nextjs',
      icon: faGithub,
    },
    {
      link: 'https://www.facebook.com/iu.loen',
      icon: faFacebook,
    },
    {
      title: 'YouTube',
      link: 'https://www.youtube.com/channel/UC3SyT4_WLHzN7JmHQwKQZww',
      // icon: faRss,
      icon: faYoutube,
    },
  ],
  notice: {
    title: "This resume is a sample page of 'https://github.com/uyu423/resume-nextjs'.",
    icon: faBell,
  },
}