Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3194 | Rev 3197 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3194 Rev 3196
Línea 10... Línea 10...
10
 
10
 
11
/* Layouts */
11
/* Layouts */
12
import RootLayout from '@layouts/root'
12
import RootLayout from '@layouts/root'
Línea 13... Línea 13...
13
import AppsNavigation from '@pages/apps-navigation/AppsNavigation'
13
import AppsNavigation from '@pages/apps-navigation/AppsNavigation'
-
 
14
 
Línea 14... Línea 15...
14
 
15
import HabitsRoutes from './habit/routes'
15
import HabitsRoutes from './habits/routes'
16
import GroupRoutes from './group/routes'
Línea 16... Línea 17...
16
 
17
 
Línea 85... Línea 86...
85
const PeopleViewedMyProfilePage = lazy(() =>
86
const PeopleViewedMyProfilePage = lazy(() =>
86
  import('@pages/profiles/PeopleViewedMyProfilePage')
87
  import('@pages/profiles/PeopleViewedMyProfilePage')
87
)
88
)
88
const SavedJobsPage = lazy(() => import('@pages/jobs/SavedJobsPage'))
89
const SavedJobsPage = lazy(() => import('@pages/jobs/SavedJobsPage'))
89
const AppliedJobsPage = lazy(() => import('@pages/jobs/AppliedJobsPage'))
90
const AppliedJobsPage = lazy(() => import('@pages/jobs/AppliedJobsPage'))
90
const GroupsRequestsSendPage = lazy(() =>
-
 
91
  import('@pages/groups/GroupsRequestsSendPage')
-
 
92
)
-
 
93
const GroupsRequestsReceivedPage = lazy(() =>
-
 
94
  import('@pages/groups/GroupsRequestsReceivedPage')
-
 
95
)
-
 
96
const JoinedGroupsPage = lazy(() => import('@pages/groups/JoinedGroupsPage'))
-
 
97
const MyGroupsPage = lazy(() => import('@pages/groups/MyGroupsPage'))
-
 
98
const MyCompanies = lazy(() => import('@pages/company/MyCompaniesPage'))
91
const MyCompanies = lazy(() => import('@pages/company/MyCompaniesPage'))
99
const FollowingCompaniesPage = lazy(() =>
92
const FollowingCompaniesPage = lazy(() =>
100
  import('@pages/company/CompaniesIFollowPage')
93
  import('@pages/company/CompaniesIFollowPage')
101
)
94
)
102
const CompaniesWhenIWorkPage = lazy(() =>
95
const CompaniesWhenIWorkPage = lazy(() =>
Línea 109... Línea 102...
109
  import('@pages/company/CompanyInvitationsReceivedPage')
102
  import('@pages/company/CompanyInvitationsReceivedPage')
110
)
103
)
111
const ProfileViewPage = lazy(() => import('@pages/profiles/ProfileViewPage'))
104
const ProfileViewPage = lazy(() => import('@pages/profiles/ProfileViewPage'))
112
const ProfileEditPage = lazy(() => import('@pages/profiles/ProfileEditPage'))
105
const ProfileEditPage = lazy(() => import('@pages/profiles/ProfileEditPage'))
113
const CompanyViewPage = lazy(() => import('@pages/company/CompanyViewPage'))
106
const CompanyViewPage = lazy(() => import('@pages/company/CompanyViewPage'))
114
const GroupViewPage = lazy(() => import('@pages/groups/GroupPage'))
-
 
115
const GroupEditPage = lazy(() => import('@pages/groups/GroupEditPage'))
-
 
Línea 116... Línea 107...
116
 
107
 
117
const MarketPlacePage = lazy(() => import('@pages/marketplace/MarketplacePage'))
108
const MarketPlacePage = lazy(() => import('@pages/marketplace/MarketplacePage'))
118
const NotificationsPage = lazy(() =>
109
const NotificationsPage = lazy(() =>
119
  import('@pages/notifications/NotificationsPage')
110
  import('@pages/notifications/NotificationsPage')
Línea 179... Línea 170...
179
            </Route>
170
            </Route>
180
          </Route>
171
          </Route>
Línea 181... Línea 172...
181
 
172
 
182
          {/* Private routes */}
173
          {/* Private routes */}
183
          <Route element={<PrivateRoutes />}>
174
          <Route element={<PrivateRoutes />}>
-
 
175
            <Route path='/habits/*' element={<HabitsRoutes />} />
-
 
176
 
Línea 184... Línea 177...
184
            <Route path='habits/*' element={<HabitsRoutes />} />
177
            <Route path='/group' element={<GroupRoutes />} />
185
 
178
 
186
            <Route path='abuse-report'>
179
            <Route path='abuse-report'>
187
              <Route index element={<AbuseReportPage />} />
180
              <Route index element={<AbuseReportPage />} />
Línea 229... Línea 222...
229
              <Route path='view/:uuid' element={<JobViewPage />} />
222
              <Route path='view/:uuid' element={<JobViewPage />} />
230
              <Route path='saved-jobs' element={<SavedJobsPage />} />
223
              <Route path='saved-jobs' element={<SavedJobsPage />} />
231
              <Route path='applied-jobs' element={<AppliedJobsPage />} />\
224
              <Route path='applied-jobs' element={<AppliedJobsPage />} />\
232
            </Route>
225
            </Route>
Línea 233... Línea -...
233
 
-
 
234
            <Route path='/group'>
-
 
235
              <Route index element={<Navigate to='requests-sent' />} />
-
 
236
              <Route
-
 
237
                path='requests-sent'
-
 
238
                element={<GroupsRequestsSendPage />}
-
 
239
              />
-
 
240
              <Route
-
 
241
                path='invitations-received'
-
 
242
                element={<GroupsRequestsReceivedPage />}
-
 
243
              />
-
 
244
              <Route path='joined-groups' element={<JoinedGroupsPage />} />
-
 
245
              <Route path='view/:uuid' element={<GroupViewPage />} />
-
 
246
              <Route path='my-groups'>
-
 
247
                <Route index element={<MyGroupsPage />} />
-
 
248
                <Route path='edit/:uuid' element={<GroupEditPage />} />
-
 
249
              </Route>
-
 
250
            </Route>
-
 
251
 
226
 
252
            <Route path='/company'>
227
            <Route path='/company'>
253
              <Route index element={<Navigate to='my-companies' />} />
228
              <Route index element={<Navigate to='my-companies' />} />
254
              <Route path='my-companies' element={<MyCompanies />} />
229
              <Route path='my-companies' element={<MyCompanies />} />
255
              <Route
230
              <Route