| 117 | }; |
| 118 | |
| 119 | const TaskPromptEmpty: FC = () => { |
| 120 | return ( |
| 121 | <div className="rounded-lg border border-solid border-border w-full min-h-80 p-4 flex items-center justify-center"> |
| 122 | <div className="flex flex-col items-center"> |
| 123 | <h3 className="m-0 font-medium text-content-primary text-base"> |
| 124 | No Task templates found |
| 125 | </h3> |
| 126 | <span className="text-content-secondary text-sm"> |
| 127 | <Link href={docs("/ai-coder/tasks")} target="_blank" rel="noreferrer"> |
| 128 | Learn about Tasks |
| 129 | </Link>{" "} |
| 130 | to get started. |
| 131 | </span> |
| 132 | </div> |
| 133 | </div> |
| 134 | ); |
| 135 | }; |
| 136 | |
| 137 | type CreateTaskMutationFnProps = { |
| 138 | prompt: string; |