@fortawesome/free-brands-svg-icons#faTelegram JavaScript Examples
The following examples show how to use
@fortawesome/free-brands-svg-icons#faTelegram.
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: SocialIcons.js From bonded-stablecoin-ui with MIT License | 5 votes |
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 #2
Source File: index.jsx From loopring-swap with GNU General Public License v3.0 | 5 votes |
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 #3
Source File: fontawesome.js From xmrig-workers with GNU General Public License v3.0 | 5 votes |
export default function () {
library.add(faGithub, faWindows, faLinux, faTwitter, faReddit, faTelegram, faCheckCircle, faMicrochip, faTrashAlt,
faPaperPlane, faSpinner, faFlask, faInfoCircle, faPen, faTools, faCheck, faPlus, faCog, faExclamationTriangle,
faQuestionCircle, faSyncAlt, faInfinity, faDownload, faCopy, faPlug, faTimesCircle);
}