forked from cerc-io/snowballtools-base
* Implement create project with import repository * Add button for creating project in deploy step
28 lines
527 B
TypeScript
28 lines
527 B
TypeScript
import React from 'react';
|
|
|
|
import NewProject from './index';
|
|
import CreateWithTemplate from './Template';
|
|
import { templateRoutes } from './template/routes';
|
|
import Success from './Success';
|
|
import Import from './Import';
|
|
|
|
export const createProjectRoutes = [
|
|
{
|
|
index: true,
|
|
element: <NewProject />,
|
|
},
|
|
{
|
|
path: 'template',
|
|
element: <CreateWithTemplate />,
|
|
children: templateRoutes,
|
|
},
|
|
{
|
|
path: 'success',
|
|
element: <Success />,
|
|
},
|
|
{
|
|
path: 'import',
|
|
element: <Import />,
|
|
},
|
|
];
|