Add badges to guides page
This commit is contained in:
@ -4,14 +4,32 @@ import PageHeader from 'components/page-header';
|
|||||||
import PageFooter from 'components/page-footer';
|
import PageFooter from 'components/page-footer';
|
||||||
import { getAllGuides } from 'lib/guide';
|
import { getAllGuides } from 'lib/guide';
|
||||||
import FeaturedGuide from '../../components/featured-guide';
|
import FeaturedGuide from '../../components/featured-guide';
|
||||||
|
import { faCodeBranch, faEnvelope } from '@fortawesome/free-solid-svg-icons/index';
|
||||||
|
import { BadgeLink, BadgesList, PrimaryBadge, SecondaryBadge } from 'components/badges';
|
||||||
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||||
|
import siteConfig from "data/site";
|
||||||
|
|
||||||
const Roadmap = () => (
|
const Roadmap = () => (
|
||||||
<DefaultLayout>
|
<DefaultLayout>
|
||||||
<SiteNav />
|
<SiteNav />
|
||||||
<PageHeader
|
<PageHeader
|
||||||
title="Programming Guides"
|
title="Programming Guides"
|
||||||
subtitle="Easy to follow guides on complex topics written and maintained by the community"
|
subtitle="Easy to follow guides on complex topics written and maintained by the community">
|
||||||
/>
|
<BadgesList className="mt-4">
|
||||||
|
<BadgeLink href={siteConfig.url.addGuide} target="_blank">
|
||||||
|
<SecondaryBadge>
|
||||||
|
<FontAwesomeIcon icon={faCodeBranch}/>
|
||||||
|
Write a Guide
|
||||||
|
</SecondaryBadge>
|
||||||
|
</BadgeLink>
|
||||||
|
<BadgeLink href="/signup">
|
||||||
|
<PrimaryBadge>
|
||||||
|
<FontAwesomeIcon icon={faEnvelope}/>
|
||||||
|
Send me Updates
|
||||||
|
</PrimaryBadge>
|
||||||
|
</BadgeLink>
|
||||||
|
</BadgesList>
|
||||||
|
</PageHeader>
|
||||||
<div className="pt-5 pb-5 bg-light border-top">
|
<div className="pt-5 pb-5 bg-light border-top">
|
||||||
<div className="container">
|
<div className="container">
|
||||||
<div className="row">
|
<div className="row">
|
||||||
|
Reference in New Issue
Block a user