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, Input, Link, Modal, ModalBody, ModalCloseButton, ModalContent, ModalOverlay, Stack, Text, useDisclosure } from '@chakra-ui/react'; import { AtSignIcon, ChatIcon, DownloadIcon } from '@chakra-ui/icons'; import React from 'react'; import { SIGNUP_EMAIL_INPUT_NAME, SIGNUP_FORM_ACTION } from '../../pages/signup'; type RoadmapPageHeaderType = { roadmap: RoadmapType; }; function RoadmapDownloader() { const { isOpen, onOpen, onClose } = useDisclosure(); const initialRef = React.useRef(null); return ( <> Download Roadmap Enter your email below to receive the download link.
); } export function RoadmapPageHeader(props: RoadmapPageHeaderType) { const { roadmap } = props; return ( {roadmap.title} {roadmap.description} {isInteractiveRoadmap(roadmap.id) && ( New Resources are here, try clicking any nodes. )} ); }