import { X } from 'lucide-react'; import { Modal } from '../Modal'; import { getRelativeTimeString } from '../../lib/date'; type StartProjectModalProps = { onClose: () => void; startedAt?: Date; }; export function StartProjectModal(props: StartProjectModalProps) { const { onClose, startedAt } = props; const projectTips = [ 'Create a repository on GitHub', 'Develop the required functionality', 'Add a readme and make sure to link to the project page', 'Once you are done, make sure to come back and submit your solution to get feedback from others.', 'Feel free to join our discord and ask for help if you get stuck.', ]; const formattedStartedAt = startedAt ? getRelativeTimeString(startedAt) : ''; return (

Started working... {formattedStartedAt ? ( {formattedStartedAt} ) : null}

You have started working on the project. Here are some tips to get most out of it.

Happy coding!

); }