feat: add forms page and routing
This commit is contained in:
@@ -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} />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user