snowballtools-base/packages/frontend/src/pages/projects/create/routes.tsx
Nabarun Gogoi c0cee2c57f
Set project name for repository organization and name (#57)
* Remove unused methods from backend utils

* Set project name from repo organization and name when creating project

* Rename success and project components according to routes
2024-02-06 16:18:29 +05:30

28 lines
524 B
TypeScript

import React from 'react';
import NewProject from './index';
import CreateWithTemplate from './Template';
import { templateRoutes } from './template/routes';
import Id from './success/Id';
import Import from './Import';
export const createProjectRoutes = [
{
index: true,
element: <NewProject />,
},
{
path: 'template',
element: <CreateWithTemplate />,
children: templateRoutes,
},
{
path: 'success/:id',
element: <Id />,
},
{
path: 'import',
element: <Import />,
},
];