<script lang="ts">
  import { page } from "$app/stores"
  import AppPage from "../../../app_page.svelte"
  import EditTask from "../../../../(fullscreen)/setup/(setup)/create_task/edit_task.svelte"

  let project_target_name: string | null = null
  $: project_id = $page.params.slug
</script>

<div class="max-w-[900px]">
  <AppPage
    title="New Task"
    subtitle="A 'task' is a single goal for a model to accomplish."
    sub_subtitle="Target project: {project_target_name}"
  >
    <EditTask bind:project_target_name target_project_id={project_id} />
  </AppPage>
</div>
