feat: add forms page and routing

This commit is contained in:
Ayobami
2025-07-03 23:06:24 +01:00
parent fb79e0ef12
commit b4a7a56200
31 changed files with 607 additions and 0 deletions
+10
View File
@@ -42,6 +42,7 @@ import { Project } from 'Containers/Project';
import { Account, About } from 'Containers/User';
import { ProjectData } from 'Containers/ProjectData';
import { RocketDry } from 'Containers/RocketDry';
import { Forms } from 'Containers/Forms';
// route components
import { PhotoShareProvider } from 'Context/PhotoShare/PhotoShareProvider';
@@ -182,6 +183,13 @@ const PeopleRoute = () => (
</DashboardWrapper>
);
// Form route
const FormsRoute = () => (
<DashboardWrapper>
<Forms />
</DashboardWrapper>
);
const PhotoViewRoute = () => (
<PhotoViewWrapper>
<PhotoView />
@@ -378,6 +386,8 @@ export const Routes = () => (
<PrivateRoute exact path="/people" render={PeopleRoute} />
<PrivateRoute exact path="/form" render={FormsRoute} />
<PrivateRoute exact path="/user/account" render={AccountRoute} />
<PrivateRoute exact path="/user/about" render={AboutRoute} />