react-icons/fa#FaFreeCodeCamp JavaScript Examples
The following examples show how to use
react-icons/fa#FaFreeCodeCamp.
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: MobileSocialLinks.js From syntax.rocks with MIT License | 6 votes |
MobileSocialLinks = ({ contacts }) => {
return (
<div className="bottom-bar py-1">
<a className=" text-primary"
href={contacts.linkedin}>
<span title="Linked In">
<FaLinkedin size={26} style={{ color: "primary" }} />
</span>
</a>
<a className="text-light"
href={contacts.github}>
<span title="GitHub">
<FaGithubSquare size={26} style={{ color: "light" }} />
</span>
</a>
<a className="text-warning"
href={contacts.stackoverflow}>
<span title="Stack Overflow">
<FaStackOverflow size={26} style={{ color: "warning" }} />
</span>
</a>
<a className="text-success"
href={contacts.freecodecamp}>
<span title="freeCodeCamp">
<FaFreeCodeCamp size={26} style={{ color: "success" }} />
</span>
</a>
<a className="text-info"
href={contacts.twitter}>
<span title="Twitter">
<FaTwitterSquare size={26} style={{ color: "info" }} />
</span>
</a>
</div>
)
}
Example #2
Source File: SocialLinks.js From syntax.rocks with MIT License | 6 votes |
SocialLinks = ({ contacts }) => {
return (
<div className="social-links float-right mr-4">
<a className="text-primary ml-4"
href={contacts.linkedin}>
<span title="Linked In">
<FaLinkedin size={40} style={{ color: "primary" }} />
</span>
</a>
<a className="text-light ml-4"
href={contacts.github}>
<span title="GitHub">
<FaGithubSquare size={40} style={{ color: "light" }} />
</span>
</a>
<a className="text-warning ml-4"
href={contacts.stackoverflow}>
<span title="Stack Overflow">
<FaStackOverflow size={40} style={{ color: "warning" }} />
</span>
</a>
<a className="text-success ml-4"
href={contacts.freecodecamp}>
<span title="freeCodeCamp">
<FaFreeCodeCamp size={40} style={{ color: "success" }} />
</span>
</a>
<a className="text-info ml-4"
href={contacts.twitter}>
<span title="Twitter">
<FaTwitterSquare size={40} style={{ color: "info" }} />
</span>
</a>
</div>
)
}
Example #3
Source File: SocialLinks.js From syntax.rocks with MIT License | 6 votes |
SocialLinks = ({ contacts }) => {
return (
<div className="side-social-links float-left mt-3 mb-3">
<a className="text-light p-2" href={contacts.linkedin}>
<span title="Linked In">
<FaLinkedin size={26} style={{ color: "secondary" }} />
</span>
</a>
<a className="text-light p-2" href={contacts.github}>
<span title="GitHub">
<FaGithubSquare size={26} style={{ color: "secondary" }} />
</span>
</a>
<a className="text-light p-2" href={contacts.stackoverflow}>
<span title="Stack Overflow">
<FaStackOverflow size={26} style={{ color: "secondary" }} />
</span>
</a>
<a className="text-light p-2" href={contacts.freecodecamp}>
<span title="freeCodeCamp">
<FaFreeCodeCamp size={26} style={{ color: "secondary" }} />
</span>
</a>
<a className="text-light p-2" href={contacts.twitter}>
<span title="Twitter">
<FaTwitterSquare size={26} style={{ color: "secondary" }} />
</span>
</a>
</div>
)
}
Example #4
Source File: Constants.js From hackertab.dev with Apache License 2.0 | 5 votes |
SUPPORTED_CARDS = [
{
value: 'github',
icon: <SiGithub className="blockHeaderWhite" />,
analyticsTag: 'repos',
label: 'Github repositories',
component: ReposCard,
},
{
value: 'hackernews',
icon: <SiYcombinator color="#FB6720" />,
analyticsTag: 'hackernews',
label: 'Hackernews',
component: HNCard,
},
{
value: 'conferences',
icon: <HiTicket color="#4EC8AF" />,
analyticsTag: 'events',
label: 'Upcoming events',
component: ConferencesCard,
},
{
value: 'devto',
icon: <FaDev className="blockHeaderWhite" />,
analyticsTag: 'devto',
label: 'DevTo',
component: DevToCard,
},
{
value: 'producthunt',
icon: <SiProducthunt color="#D65736" />,
analyticsTag: 'producthunt',
label: 'Product Hunt',
component: ProductHuntCard,
},
{
value: 'reddit',
icon: <FaReddit color="#FF4500" />,
analyticsTag: 'reddit',
label: 'Reddit',
component: RedditCard,
},
{
value: 'lobsters',
icon: <img src={LobstersIcon} />,
analyticsTag: 'lobsters',
label: 'Lobsters',
component: LobstersCard,
},
{
value: 'hashnode',
icon: <img src={HashNodeIcon} />,
analyticsTag: 'hashnode',
label: 'Hashnode',
component: HashNodeCard,
},
{
value: 'freecodecamp',
icon: <FaFreeCodeCamp className="blockHeaderWhite" />,
analyticsTag: 'freecodecamp',
label: 'FreeCodeCamp',
component: FreeCodeCampCard,
},
]