import Link from 'next/link'; import classNames from 'classnames'; 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 { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faEnvelope, faClock, faHandshake, faArrowLeft } from '@fortawesome/free-solid-svg-icons'; import GuideBody from 'components/guide-body'; import siteConfig from "data/site"; const isActiveRoadmap = (loadedVersion, roadmapVersion) => ( (loadedVersion === roadmapVersion) || (loadedVersion === 'latest' && parseInt(roadmapVersion, 10) === (new Date()).getFullYear()) ); const UpcomingGuide = require(`../../data/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;