Add start project modal

pull/6513/head
Kamran Ahmed 3 months ago
parent 05d09335b5
commit 08bc7795e4
  1. 25
      src/components/Projects/StartProjectModal.tsx

@ -1,18 +1,9 @@
import { import { Check, CopyIcon, ServerCrash } from 'lucide-react';
Check,
CheckCircle,
CheckCircle2,
CopyCheck,
CopyIcon,
ServerCrash,
X,
} from 'lucide-react';
import { Modal } from '../Modal'; import { Modal } from '../Modal';
import { getRelativeTimeString } from '../../lib/date'; import { getRelativeTimeString } from '../../lib/date';
import { useEffect, useState } from 'react'; import { useEffect, useState } from 'react';
import { Spinner } from '../ReactIcons/Spinner.tsx'; import { Spinner } from '../ReactIcons/Spinner.tsx';
import { httpPost } from '../../lib/http.ts'; import { httpPost } from '../../lib/http.ts';
import { ErrorIcon } from '../ReactIcons/ErrorIcon.tsx';
import { CheckIcon } from '../ReactIcons/CheckIcon.tsx'; import { CheckIcon } from '../ReactIcons/CheckIcon.tsx';
import { useCopyText } from '../../hooks/use-copy-text.ts'; import { useCopyText } from '../../hooks/use-copy-text.ts';
@ -161,8 +152,18 @@ export function StartProjectModal(props: StartProjectModalProps) {
</div> </div>
</div> </div>
<div className='mb-5'> <div className="mb-5">
<p>If you get stuck, you can always ask for help in the community <a href='https://roadmap.sh/discord' target='_blank' className='underline underline-offset-2 font-medium'>chat on discord</a>.</p> <p>
If you get stuck, you can always ask for help in the community{' '}
<a
href="https://roadmap.sh/discord"
target="_blank"
className="font-medium underline underline-offset-2"
>
chat on discord
</a>
.
</p>
</div> </div>
<button <button

Loading…
Cancel
Save