switch to nx monorepo

This commit is contained in:
Philipinho
2024-01-09 18:58:26 +01:00
parent e1bb2632b8
commit 093e634c0b
273 changed files with 11419 additions and 31 deletions

26
apps/client/src/App.tsx Normal file
View File

@ -0,0 +1,26 @@
import { Route, Routes } from 'react-router-dom';
import { Welcome } from '@/pages/welcome';
import SignUpPage from '@/pages/auth/signup';
import LoginPage from '@/pages/auth/login';
import DashboardLayout from '@/components/layouts/layout';
import Home from '@/pages/dashboard/home';
import Page from '@/pages/page/page';
export default function App() {
return (
<>
<Routes>
<Route index element={<Welcome />} />
<Route path={'/login'} element={<LoginPage />} />
<Route path={'/signup'} element={<SignUpPage />} />
<Route element={<DashboardLayout />}>
<Route path={'/home'} element={<Home />} />
<Route path={'/p/:pageId'} element={<Page />} />
</Route>
</Routes>
</>
);
}