import Link from 'next/link'; import classNames from 'classnames'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faEnvelope, faClock, faHandshake, faArrowLeft } from '@fortawesome/free-solid-svg-icons'; import { SummaryContainer, Title, Description, Image, Header, Summary, VersionLink, VersionList, } from './style'; import SharePage from 'components/share-page'; import { BadgeLink, BadgesList, PrimaryBadge, SecondaryBadge, DarkBadge } from 'components/badges'; import GuideBody from 'components/guide-body'; import siteConfig from "storage/site"; const isActiveRoadmap = (loadedVersion, roadmapVersion) => ( (loadedVersion === roadmapVersion) || (loadedVersion === 'latest' && parseInt(roadmapVersion, 10) === (new Date()).getFullYear()) ); const UpcomingGuide = require(`../../storage/roadmaps/upcoming.md`).default; const RoadmapSummary = ({ roadmap }) => (
{ roadmap.title } { roadmap.description } Other Roadmaps { roadmap.upcoming && ( Upcoming Roadmap ) } { !roadmap.upcoming && ( Suggest Changes ) } Send me Updates { (roadmap.versions || []).map(versionItem => ( { versionItem } Version )) }
{ roadmap.upcoming && ( ) } { !roadmap.upcoming && (
) }
); export default RoadmapSummary;