Skip to content
Snippets Groups Projects
Commit 1ff10100 authored by Jure's avatar Jure
Browse files

feat: add standalone new submission page

parent 70711402
No related branches found
No related tags found
No related merge requests found
...@@ -4,14 +4,15 @@ import { Route, Switch, Redirect } from 'react-router-dom' ...@@ -4,14 +4,15 @@ import { Route, Switch, Redirect } from 'react-router-dom'
import Login from './components/component-login' import Login from './components/component-login'
import UsersManager from './components/component-users-manager' import UsersManager from './components/component-users-manager'
import Manuscripts from './components/component-manuscripts' import Manuscripts from './components/component-manuscripts'
import Dashboard from './components/component-xpub-dashboard/src/components/Dashboard' import Dashboard from './components/component-dashboard/src/components/Dashboard'
import SubmitPage from './components/component-xpub-submit/src/components/SubmitPage' import SubmitPage from './components/component-submit/src/components/SubmitPage'
import ManuscriptPage from './components/component-xpub-manuscript/src/components/ManuscriptPage' import ManuscriptPage from './components/component-manuscript/src/components/ManuscriptPage'
import ReviewersPage from './components/component-xpub-review/src/components/ReviewersPage' import ReviewersPage from './components/component-review/src/components/ReviewersPage'
import ReviewPage from './components/component-xpub-review/src/components/ReviewPage' import ReviewPage from './components/component-review/src/components/ReviewPage'
import TeamPage from './components/component-xpub-teams-manager/src/components/TeamsManagerPage' import TeamPage from './components/component-teams-manager/src/components/TeamsManagerPage'
import DecisionPage from './components/component-xpub-review/src/components/DecisionPage' import DecisionPage from './components/component-review/src/components/DecisionPage'
import FormBuilderPage from './components/component-xpub-formbuilder/src/components/FormBuilderPage' import FormBuilderPage from './components/component-formbuilder/src/components/FormBuilderPage'
import NewSubmissionPage from './components/component-submit/src/components/NewSubmissionPage'
import { Profile } from './components/component-profile/src' import { Profile } from './components/component-profile/src'
...@@ -40,6 +41,11 @@ export default ( ...@@ -40,6 +41,11 @@ export default (
<MainPage> <MainPage>
<Switch> <Switch>
<PrivateRoute component={Dashboard} exact path="/journal/home" /> <PrivateRoute component={Dashboard} exact path="/journal/home" />
<PrivateRoute
component={NewSubmissionPage}
exact
path="/journal/newSubmission"
/>
<PrivateRoute <PrivateRoute
component={SubmitPage} component={SubmitPage}
exact exact
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment