Forking functionality changes

feat/ai-tutor-redesign
Kamran Ahmed 3 weeks ago
parent a75f97360a
commit 926a08ac6c
  1. 14
      src/components/GenerateCourse/ForkCourseConfirmation.tsx

@ -48,13 +48,19 @@ export function ForkCourseConfirmation(props: ForkCourseConfirmationProps) {
); );
return ( return (
<Modal onClose={isPending ? () => {} : onClose}> <Modal
onClose={isPending ? () => {} : onClose}
wrapperClassName="h-auto items-start"
overlayClassName="items-start md:items-center"
>
<div className="flex flex-col items-center p-4 pt-8"> <div className="flex flex-col items-center p-4 pt-8">
<GitForkIcon className="size-14 text-gray-500" /> <GitForkIcon className="size-14 text-gray-300" />
<p className="mt-2 text-xl font-medium">Fork Course</p> <div className="my-5 text-center">
<p className="text-xl font-semibold">Fork Course</p>
<p className="mt-1 text-center text-balance text-gray-500"> <p className="mt-1 text-center text-balance text-gray-500">
Forking this course will create a new course with the same content. Create a copy of this course
</p> </p>
</div>
<div className="mt-4 grid w-full grid-cols-2 gap-2"> <div className="mt-4 grid w-full grid-cols-2 gap-2">
<button <button

Loading…
Cancel
Save