import { 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 { 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 && ( )} {roadmap.id === 'frontend' && ( New Roadmap is now interactive, try clicking any nodes )} ); }