import { createBrowserRouter } from "react-router-dom";
import {
  AllProjectScreen,
  AllProjectScreenPath,
} from "../../features/all_projects/presentation/all_projects_screen";
import {
  PipelineInstanceScreen,
  PipelineScreenPath,
} from "../../features/pipeline_instance_main_screen/pipeline_instance_screen";
import {
  SelectProjectScreen,
  SelectProjectScreenPath,
} from "../../features/select_project/presentation/select_project";
import {
  CreatePipelineScreen,
  CreatePipelineScreenPath,
} from "../../features/create_pipeline/presentation/create_pipeline_screen";
import { CreateProjectScreen, CreateProjectScreenPath } from "../../features/create_project/create_project_screen";

export const router = createBrowserRouter([
  {
    path: AllProjectScreenPath,
    element: <AllProjectScreen />,
  },
  {
    path: PipelineScreenPath,
    element: <PipelineInstanceScreen />,
  },
  {
    path: SelectProjectScreenPath,
    element: <SelectProjectScreen />,
  },
  {
    path: CreatePipelineScreenPath,
    element: <CreatePipelineScreen />,
  },
  {
    path: CreateProjectScreenPath,
    element: <CreateProjectScreen />,
  },
]);
