snowballtools-base/packages/frontend/src/pages/routes.tsx
Nabarun Gogoi cc071dddcf
Implement layout for creating new project with template (#6)
* Create layout for create project with template

* Handle create project with tempalte form

* Refactor pages folder according to routes

* Add navigation to create project with template page

---------

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
2023-12-18 16:58:17 +05:30

21 lines
354 B
TypeScript

import React from 'react';
import Projects from './Projects';
import Settings from './Settings';
import { projectsRoutes } from './projects/routes';
export const homeRoutes = [
{
index: true,
element: <Projects />,
},
{
path: 'settings',
element: <Settings />,
},
{
path: 'projects',
children: projectsRoutes,
},
];