import siteConfig from '../../content/site.json'; import { isInteractiveRoadmap, RoadmapType } from '../../lib/roadmap'; import { NewAlertBanner } from './new-alert-banner'; import { Badge, Box, Button, Container, Flex, Heading, Link, Stack, Text, } from '@chakra-ui/react'; import { ChatIcon, AtSignIcon, DownloadIcon } from '@chakra-ui/icons'; import React from 'react'; type RoadmapPageHeaderType = { roadmap: RoadmapType; }; export function RoadmapPageHeader(props: RoadmapPageHeaderType) { const { roadmap } = props; return ( {roadmap.title} {roadmap.description} {roadmap.pdfUrl && ( )} {isInteractiveRoadmap(roadmap.id) && ( New Resources are here, try clicking any nodes. )} ); }