| Línea 1... |
Línea 1... |
| 1 |
import React, { lazy, Suspense } from 'react'
|
1 |
import React, { lazy, Suspense } from 'react'
|
| 2 |
import { Routes, Route } from 'react-router-dom'
|
2 |
import { Routes, Route, Navigate } from 'react-router-dom'
|
| Línea 3... |
Línea 3... |
| 3 |
|
3 |
|
| 4 |
import AuthRoute from './auth-routes'
|
4 |
import AuthRoute from './auth-routes'
|
| 5 |
import PrivateRoutes from './private-routes'
|
5 |
import PrivateRoutes from './private-routes'
|
| Línea 6... |
Línea 6... |
| 6 |
import Spinner from '@app/components/UI/Spinner'
|
6 |
import Spinner from '@app/components/UI/Spinner'
|
| 7 |
|
7 |
|
| 8 |
/* Providers */
|
8 |
/* Providers */
|
| 9 |
import PurposesProvider from '@app/contexts/purposes'
|
9 |
import PurposesProvider from '@providers/purposes'
|
| 10 |
import GoalsProvider from '@app/contexts/goals'
|
10 |
import GoalsProvider from '@providers/goals'
|
| 11 |
import HabitsProvider from '@app/contexts/habits'
|
11 |
import HabitsProvider from '@providers/habits'
|
| 12 |
import ParadigmsProvider from '@app/contexts/paradigms'
|
- |
|
| 13 |
import ValuesProvider from '@app/contexts/values'
|
- |
|
| 14 |
|
- |
|
| 15 |
/* */
|
- |
|
| 16 |
import Paradigms from '@app/components/habits/paradigms/Paradigms'
|
- |
|
| 17 |
import Values from '@app/components/habits/values/Values'
|
- |
|
| 18 |
import Purposes from '@app/components/habits/purposes/Purposes'
|
- |
|
| Línea 19... |
Línea 12... |
| 19 |
import Goals from '@app/components/habits/goals/Goals'
|
12 |
import ParadigmsProvider from '@providers/paradigms'
|
| 20 |
import Habits from '@app/components/habits/Habits'
|
13 |
import ValuesProvider from '@providers/values'
|
| 21 |
|
14 |
|
| Línea 22... |
Línea 15... |
| 22 |
/* Layouts */
|
15 |
/* Layouts */
|
| 23 |
const HabitsLayout = lazy(() => import('@app/layouts/habits/habits-layout'))
|
16 |
const HabitsLayout = lazy(() => import('@app/layouts/habits/habits-layout'))
|
| - |
|
17 |
const AuthLayout = lazy(() => import('@app/layouts/auth/auth-layout'))
|
| - |
|
18 |
|
| - |
|
19 |
/* Pages */
|
| - |
|
20 |
const Login = lazy(() => import('@app/pages/auth/login'))
|
| - |
|
21 |
const Signup = lazy(() => import('@app/pages/auth/signup'))
|
| - |
|
22 |
// const Navigation = lazy(() => import('@pages/auth/navigation'))
|
| - |
|
23 |
const ForgotPassword = lazy(() => import('@pages/auth/forgot-password'))
|
| - |
|
24 |
const ActiveAccount = lazy(() => import('@pages/auth/active-account'))
|
| - |
|
25 |
const ResetPassword = lazy(() => import('@pages/auth/reset-password'))
|
| - |
|
26 |
const ValuesPage = lazy(() => import('@pages/habits/values-page'))
|
| 24 |
const AuthLayout = lazy(() => import('@app/layouts/auth/auth-layout'))
|
27 |
const PurposesPage = lazy(() => import('@pages/habits/purposes-page'))
|
| 25 |
|
28 |
const HabitsPage = lazy(() => import('@pages/habits/habits-page'))
|
| 26 |
/* Pages */
|
29 |
const ParadigmsPage = lazy(() => import('@pages/habits/paradigms-page'))
|
| 27 |
const AuthPages = lazy(() => import('@app/pages/auth/auth-pages'))
|
30 |
const GoalsPage = lazy(() => import('@pages/habits/goals-page'))
|
| 28 |
const AbuseReportPage = lazy(() =>
|
31 |
const AbuseReportPage = lazy(() =>
|
| 29 |
import('@app/pages/abuse-report/abuse-repor-page')
|
32 |
import('@pages/abuse-report/abuse-repor-page')
|
| 30 |
)
|
- |
|
| 31 |
const AbuseReportViewPage = lazy(() =>
|
33 |
)
|
| 32 |
import('@app/pages/abuse-report/abuse-report-view-page')
|
- |
|
| 33 |
)
|
34 |
const AbuseReportViewPage = lazy(() =>
|
| 34 |
const ShorterPostPage = lazy(() =>
|
35 |
import('@pages/abuse-report/abuse-report-view-page')
|
| 35 |
import('@app/pages/shorter/shorter-post-page')
|
36 |
)
|
| 36 |
)
|
37 |
const ShorterPostPage = lazy(() => import('@pages/shorter/shorter-post-page'))
|
| 37 |
const InmailPage = lazy(() => import('@app/pages/inmail/InmailPage'))
|
38 |
const InmailPage = lazy(() => import('@pages/inmail/InmailPage'))
|
| 38 |
const TermsAndConditionsPage = lazy(() =>
|
39 |
const TermsAndConditionsPage = lazy(() =>
|
| 39 |
import('pages/terms-and-conditions/TermsAndConditionsPage')
|
40 |
import('@pages/terms-and-conditions/TermsAndConditionsPage')
|
| 40 |
)
|
41 |
)
|
| 41 |
const PrivacyPolicyPage = lazy(() =>
|
42 |
const PrivacyPolicyPage = lazy(() =>
|
| 42 |
import('pages/privacy-policy/PrivacyPolicy')
|
43 |
import('@pages/privacy-policy/PrivacyPolicy')
|
| 43 |
)
|
44 |
)
|
| Línea 44... |
Línea 45... |
| 44 |
const CookiesPage = lazy(() => import('pages/cookies/CookiesPage'))
|
45 |
const CookiesPage = lazy(() => import('@pages/cookies/CookiesPage'))
|
| 45 |
const ProfessionalismPolicy = lazy(() =>
|
46 |
const ProfessionalismPolicy = lazy(() =>
|
| 46 |
import('pages/professionalism-policy/ProfessionalismPolicy')
|
47 |
import('@pages/professionalism-policy/ProfessionalismPolicy')
|
| 47 |
)
|
48 |
)
|
| 48 |
|
49 |
|
| 49 |
const MicroLearningPage = lazy(() => import('pages/micro-learning/HomePage'))
|
50 |
const MicroLearningPage = lazy(() => import('@pages/micro-learning/HomePage'))
|
| 50 |
const AccountSettingsPage = lazy(() =>
|
51 |
const AccountSettingsPage = lazy(() =>
|
| 51 |
import('pages/account-settings/AccountSettings')
|
52 |
import('@pages/account-settings/AccountSettings')
|
| 52 |
)
|
53 |
)
|
| 53 |
const DashboardPage = lazy(() => import('pages/dashboard/DashboardPage'))
|
54 |
const DashboardPage = lazy(() => import('@pages/dashboard/DashboardPage'))
|
| 54 |
const MyConnectionsPage = lazy(() =>
|
55 |
const MyConnectionsPage = lazy(() =>
|
| 55 |
import('pages/connections/MyConnectionsPage')
|
56 |
import('@pages/connections/MyConnectionsPage')
|
| 56 |
)
|
57 |
)
|
| 57 |
const InvitationsReceivedPage = lazy(() =>
|
58 |
const InvitationsReceivedPage = lazy(() =>
|
| 58 |
import('pages/connections/InvitationsReceivedPage')
|
59 |
import('@pages/connections/InvitationsReceivedPage')
|
| 59 |
)
|
60 |
)
|
| 60 |
const InvitationsSendPage = lazy(() =>
|
61 |
const InvitationsSendPage = lazy(() =>
|
| 61 |
import('pages/connections/InvitationsSendPage')
|
62 |
import('@pages/connections/InvitationsSendPage')
|
| 62 |
)
|
63 |
)
|
| 63 |
const PeopleYouMayKnowPage = lazy(() =>
|
64 |
const PeopleYouMayKnowPage = lazy(() =>
|
| 64 |
import('pages/connections/PeopleYouMayKnowPage')
|
65 |
import('@pages/connections/PeopleYouMayKnowPage')
|
| 65 |
)
|
66 |
)
|
| 66 |
const PeopleBlockedPage = lazy(() =>
|
67 |
const PeopleBlockedPage = lazy(() =>
|
| 67 |
import('pages/connections/PeopleBlockedPage')
|
68 |
import('@pages/connections/PeopleBlockedPage')
|
| 68 |
)
|
69 |
)
|
| 69 |
const MyProfilesPage = lazy(() => import('pages/profiles/MyProfilesPage'))
|
70 |
const MyProfilesPage = lazy(() => import('@pages/profiles/MyProfilesPage'))
|
| 70 |
const PeopleViewedMyProfilePage = lazy(() =>
|
71 |
const PeopleViewedMyProfilePage = lazy(() =>
|
| 71 |
import('pages/profiles/PeopleViewedMyProfilePage')
|
72 |
import('@pages/profiles/PeopleViewedMyProfilePage')
|
| 72 |
)
|
73 |
)
|
| 73 |
const SavedJobsPage = lazy(() => import('pages/jobs/SavedJobsPage'))
|
74 |
const SavedJobsPage = lazy(() => import('@pages/jobs/SavedJobsPage'))
|
| 74 |
const AppliedJobsPage = lazy(() => import('pages/jobs/AppliedJobsPage'))
|
75 |
const AppliedJobsPage = lazy(() => import('@pages/jobs/AppliedJobsPage'))
|
| 75 |
const GroupsRequestsSendPage = lazy(() =>
|
76 |
const GroupsRequestsSendPage = lazy(() =>
|
| 76 |
import('pages/groups/GroupsRequestsSendPage')
|
77 |
import('@pages/groups/GroupsRequestsSendPage')
|
| 77 |
)
|
78 |
)
|
| 78 |
const GroupsRequestsReceivedPage = lazy(() =>
|
79 |
const GroupsRequestsReceivedPage = lazy(() =>
|
| 79 |
import('pages/groups/GroupsRequestsReceivedPage')
|
80 |
import('@pages/groups/GroupsRequestsReceivedPage')
|
| 80 |
)
|
81 |
)
|
| 81 |
const JoinedGroupsPage = lazy(() => import('pages/groups/JoinedGroupsPage'))
|
82 |
const JoinedGroupsPage = lazy(() => import('@pages/groups/JoinedGroupsPage'))
|
| 82 |
const MyGroupsPage = lazy(() => import('pages/groups/MyGroupsPage'))
|
83 |
const MyGroupsPage = lazy(() => import('@pages/groups/MyGroupsPage'))
|
| 83 |
const MyCompanies = lazy(() => import('pages/company/MyCompaniesPage'))
|
84 |
const MyCompanies = lazy(() => import('@pages/company/MyCompaniesPage'))
|
| 84 |
const FollowingCompaniesPage = lazy(() =>
|
85 |
const FollowingCompaniesPage = lazy(() =>
|
| 85 |
import('pages/company/FollowingCompaniesPage')
|
86 |
import('@pages/company/FollowingCompaniesPage')
|
| 86 |
)
|
87 |
)
|
| 87 |
const CompaniesWhenIWorkPage = lazy(() =>
|
88 |
const CompaniesWhenIWorkPage = lazy(() =>
|
| 88 |
import('pages/company/CompaniesWhenIWorkPage')
|
89 |
import('@pages/company/CompaniesWhenIWorkPage')
|
| 89 |
)
|
90 |
)
|
| 90 |
const CompanyRequestSendPage = lazy(() =>
|
91 |
const CompanyRequestSendPage = lazy(() =>
|
| 91 |
import('pages/company/CompanyRequestSendPage')
|
92 |
import('@pages/company/CompanyRequestSendPage')
|
| 92 |
)
|
93 |
)
|
| 93 |
const CompanyInvitationsReceivedPage = lazy(() =>
|
94 |
const CompanyInvitationsReceivedPage = lazy(() =>
|
| 94 |
import('pages/company/CompanyInvitationsReceivedPage')
|
95 |
import('@pages/company/CompanyInvitationsReceivedPage')
|
| 95 |
)
|
96 |
)
|
| Línea 96... |
Línea 97... |
| 96 |
const ProfileViewPage = lazy(() => import('pages/profiles/ProfileViewPage'))
|
97 |
const ProfileViewPage = lazy(() => import('@pages/profiles/ProfileViewPage'))
|
| 97 |
const ProfileEditPage = lazy(() => import('pages/profiles/ProfileEditPage'))
|
98 |
const ProfileEditPage = lazy(() => import('@pages/profiles/ProfileEditPage'))
|
| 98 |
const CompanyViewPage = lazy(() => import('pages/company/CompanyViewPage'))
|
99 |
const CompanyViewPage = lazy(() => import('@pages/company/CompanyViewPage'))
|
| 99 |
const GroupViewPage = lazy(() => import('pages/groups/GroupViewPage'))
|
100 |
const GroupViewPage = lazy(() => import('@pages/groups/GroupViewPage'))
|
| 100 |
const GroupEditPage = lazy(() => import('pages/groups/GroupEditPage'))
|
101 |
const GroupEditPage = lazy(() => import('@pages/groups/GroupEditPage'))
|
| 101 |
|
102 |
|
| 102 |
const MarketPlacePage = lazy(() => import('pages/marketplace/MarketplacePage'))
|
103 |
const MarketPlacePage = lazy(() => import('@pages/marketplace/MarketplacePage'))
|
| 103 |
const NotificationsPage = lazy(() =>
|
104 |
const NotificationsPage = lazy(() =>
|
| 104 |
import('pages/notifications/NotificationsPage')
|
105 |
import('@pages/notifications/NotificationsPage')
|
| 105 |
)
|
106 |
)
|
| 106 |
const SearchPage = lazy(() => import('pages/search/SearchPage'))
|
107 |
const SearchPage = lazy(() => import('@pages/search/SearchPage'))
|
| 107 |
const KnowledgeAreaPage = lazy(() =>
|
108 |
const KnowledgeAreaPage = lazy(() =>
|
| 108 |
import('pages/knowledge-area/KnowledgeAreaPage')
|
109 |
import('@pages/knowledge-area/KnowledgeAreaPage')
|
| 109 |
)
|
110 |
)
|
| 110 |
const KnowledgeViewPage = lazy(() =>
|
111 |
const KnowledgeViewPage = lazy(() =>
|
| 111 |
import('pages/knowledge-area/KnowledgeViewPage')
|
112 |
import('@pages/knowledge-area/KnowledgeViewPage')
|
| 112 |
)
|
113 |
)
|
| Línea 113... |
Línea 114... |
| 113 |
const PostViewPage = lazy(() => import('pages/posts/PostViewPage'))
|
114 |
const PostViewPage = lazy(() => import('@pages/posts/PostViewPage'))
|
| 114 |
const MyCoachPage = lazy(() => import('pages/my-coach/MyCoachPage'))
|
115 |
const MyCoachPage = lazy(() => import('@pages/my-coach/MyCoachPage'))
|
| 115 |
const MyCoachViewPage = lazy(() => import('pages/my-coach/MyCoachViewPage'))
|
116 |
const MyCoachViewPage = lazy(() => import('@pages/my-coach/MyCoachViewPage'))
|
| 116 |
const JobViewPage = lazy(() => import('pages/jobs/JobView'))
|
117 |
const JobViewPage = lazy(() => import('@pages/jobs/JobView'))
|
| Línea 134... |
Línea 135... |
| 134 |
/>
|
135 |
/>
|
| 135 |
<Route path='/cookies' element={<CookiesPage />} />
|
136 |
<Route path='/cookies' element={<CookiesPage />} />
|
| Línea 136... |
Línea 137... |
| 136 |
|
137 |
|
| 137 |
{/* Authentication routes */}
|
138 |
{/* Authentication routes */}
|
| 138 |
<Route path='/' element={<AuthRoute />}>
|
139 |
<Route path='/' element={<AuthRoute />}>
|
| - |
|
140 |
<Route element={<AuthLayout />}>
|
| 139 |
<Route index element={<AuthLayout />}>
|
141 |
<Route index element={<Navigate to='signin' />} />
|
| - |
|
142 |
<Route path='signin' element={<Login />} />
|
| - |
|
143 |
<Route path='signup' element={<Signup />} />
|
| - |
|
144 |
<Route path='forgot-password' element={<ForgotPassword />} />
|
| - |
|
145 |
<Route path='reset-password/:uuid' element={<ResetPassword />} />
|
| 140 |
{/* <AuthPages /> */}
|
146 |
<Route path='activate-account/:uuid' element={<ActiveAccount />} />
|
| 141 |
</Route>
|
147 |
</Route>
|
| Línea 142... |
Línea 148... |
| 142 |
</Route>
|
148 |
</Route>
|
| 143 |
|
149 |
|
| 144 |
{/* Private routes */}
|
150 |
{/* Private routes */}
|
| 145 |
<Route element={<PrivateRoutes />}>
|
151 |
<Route element={<PrivateRoutes />}>
|
| 146 |
<Route path='/habits/*' element={<HabitsLayout />}>
|
152 |
<Route path='/habits/*' element={<HabitsLayout />}>
|
| 147 |
<Route
|
153 |
<Route
|
| 148 |
path='paradigms'
|
154 |
path='paradigms'
|
| 149 |
element={
|
155 |
element={
|
| 150 |
<ParadigmsProvider>
|
156 |
<ParadigmsProvider>
|
| 151 |
<Paradigms />
|
157 |
<ParadigmsPage />
|
| 152 |
</ParadigmsProvider>
|
158 |
</ParadigmsProvider>
|
| 153 |
}
|
159 |
}
|
| 154 |
/>
|
160 |
/>
|
| 155 |
<Route
|
161 |
<Route
|
| 156 |
path='values'
|
162 |
path='values'
|
| 157 |
element={
|
163 |
element={
|
| 158 |
<ValuesProvider>
|
164 |
<ValuesProvider>
|
| 159 |
<Values />
|
165 |
<ValuesPage />
|
| 160 |
</ValuesProvider>
|
166 |
</ValuesProvider>
|
| 161 |
}
|
167 |
}
|
| 162 |
/>
|
168 |
/>
|
| 163 |
<Route
|
169 |
<Route
|
| 164 |
path='purposes'
|
170 |
path='purposes'
|
| 165 |
element={
|
171 |
element={
|
| 166 |
<PurposesProvider>
|
172 |
<PurposesProvider>
|
| 167 |
<Purposes />
|
173 |
<PurposesPage />
|
| 168 |
</PurposesProvider>
|
174 |
</PurposesProvider>
|
| 169 |
}
|
175 |
}
|
| 170 |
/>
|
176 |
/>
|
| 171 |
<Route
|
177 |
<Route
|
| 172 |
path='goals'
|
178 |
path='goals'
|
| 173 |
element={
|
179 |
element={
|
| 174 |
<GoalsProvider>
|
180 |
<GoalsProvider>
|
| 175 |
<Goals />
|
181 |
<GoalsPage />
|
| 176 |
</GoalsProvider>
|
182 |
</GoalsProvider>
|
| 177 |
}
|
183 |
}
|
| 178 |
/>
|
184 |
/>
|
| 179 |
<Route
|
185 |
<Route
|
| 180 |
index
|
186 |
index
|
| 181 |
element={
|
187 |
element={
|
| 182 |
<HabitsProvider>
|
188 |
<HabitsProvider>
|
| 183 |
<Habits />
|
189 |
<HabitsPage />
|
| 184 |
</HabitsProvider>
|
190 |
</HabitsProvider>
|
| 185 |
}
|
191 |
}
|
| - |
|
192 |
/>
|
| 186 |
/>
|
193 |
</Route>
|
| 187 |
</Route>
|
194 |
|
| 188 |
<Route
|
195 |
<Route path='abuse-report'>
|
| 189 |
path='/abuse-report/view/:id'
|
196 |
<Route index element={<AbuseReportPage />} />
|
| - |
|
197 |
<Route path='view/:id' element={<AbuseReportViewPage />} />
|
| 190 |
element={<AbuseReportViewPage />}
|
198 |
</Route>
|
| 191 |
/>
|
199 |
|
| 192 |
<Route path='/abuse-report' element={<AbuseReportPage />} />
|
- |
|
| 193 |
<Route path='/microlearning' element={<MicroLearningPage />} />
|
200 |
<Route path='/dashboard'>
|
| 194 |
<Route path='/account-settings' element={<AccountSettingsPage />} />
|
201 |
<Route index element={<DashboardPage />} />
|
| - |
|
202 |
<Route path='feed/:id' element={<DashboardPage />} />
|
| 195 |
<Route path='/dashboard/feed/:id' element={<DashboardPage />} />
|
203 |
</Route>
|
| - |
|
204 |
|
| 196 |
<Route path='/dashboard' element={<DashboardPage />} />
|
205 |
<Route path='/connection'>
|
| 197 |
<Route path='/connection'>
|
206 |
<Route index element={<Navigate to='my-connections' />} />
|
| 198 |
<Route path='my-connections' element={<MyConnectionsPage />} />
|
207 |
<Route path='my-connections' element={<MyConnectionsPage />} />
|
| 199 |
<Route path='invitations-sent' element={<InvitationsSendPage />} />
|
208 |
<Route path='invitations-sent' element={<InvitationsSendPage />} />
|
| 200 |
<Route
|
209 |
<Route
|
| Línea 205... |
Línea 214... |
| 205 |
path='people-you-may-know'
|
214 |
path='people-you-may-know'
|
| 206 |
element={<PeopleYouMayKnowPage />}
|
215 |
element={<PeopleYouMayKnowPage />}
|
| 207 |
/>
|
216 |
/>
|
| 208 |
<Route path='people-blocked' element={<PeopleBlockedPage />} />
|
217 |
<Route path='people-blocked' element={<PeopleBlockedPage />} />
|
| 209 |
</Route>
|
218 |
</Route>
|
| - |
|
219 |
|
| - |
|
220 |
<Route path='/profile'>
|
| - |
|
221 |
<Route index element={<Navigate to='my-profiles' />} />
|
| 210 |
<Route path='/profile/my-profiles' element={<MyProfilesPage />} />
|
222 |
<Route path='view/:uuid' element={<ProfileViewPage />} />
|
| 211 |
<Route
|
223 |
<Route
|
| 212 |
path='/profile/people-viewed-profile'
|
224 |
path='people-viewed-profile'
|
| 213 |
element={<PeopleViewedMyProfilePage />}
|
225 |
element={<PeopleViewedMyProfilePage />}
|
| 214 |
/>
|
226 |
/>
|
| - |
|
227 |
<Route path='my-profiles' element={<MyProfilesPage />}>
|
| 215 |
<Route path='/profile/view/:uuid' element={<ProfileViewPage />} />
|
228 |
<Route path='edit/:uuid' element={<ProfileEditPage />} />
|
| - |
|
229 |
</Route>
|
| 216 |
<Route
|
230 |
</Route>
|
| - |
|
231 |
|
| 217 |
path='/profile/my-profiles/edit/:uuid'
|
232 |
<Route path='/job'>
|
| 218 |
element={<ProfileEditPage />}
|
233 |
<Route index element={<Navigate to='saved-jobs' />} />
|
| 219 |
/>
|
234 |
<Route path='view/:uuid' element={<JobViewPage />} />
|
| 220 |
<Route path='/job/saved-jobs' element={<SavedJobsPage />} />
|
235 |
<Route path='saved-jobs' element={<SavedJobsPage />} />
|
| 221 |
<Route path='/job/applied-jobs' element={<AppliedJobsPage />} />\
|
236 |
<Route path='applied-jobs' element={<AppliedJobsPage />} />\
|
| 222 |
<Route
|
237 |
</Route>
|
| - |
|
238 |
|
| 223 |
path='/group/requests-sent'
|
239 |
<Route path='/group'>
|
| 224 |
element={<GroupsRequestsSendPage />}
|
240 |
<Route index element={<Navigate to='requests-sent' />} />
|
| 225 |
/>
|
241 |
<Route path='requests-sent' element={<GroupsRequestsSendPage />} />
|
| 226 |
<Route
|
242 |
<Route
|
| 227 |
path='/group/invitations-received'
|
243 |
path='invitations-received'
|
| 228 |
element={<GroupsRequestsReceivedPage />}
|
244 |
element={<GroupsRequestsReceivedPage />}
|
| 229 |
/>
|
245 |
/>
|
| 230 |
<Route path='/group/joined-groups' element={<JoinedGroupsPage />} />
|
246 |
<Route path='joined-groups' element={<JoinedGroupsPage />} />
|
| - |
|
247 |
<Route path='view/:uuid' element={<GroupViewPage />} />
|
| 231 |
<Route path='/group/my-groups' element={<MyGroupsPage />} />
|
248 |
<Route path='my-groups' element={<MyGroupsPage />}>
|
| 232 |
<Route path='/group/view/:uuid' element={<GroupViewPage />} />
|
249 |
<Route path='edit/:uuid' element={<GroupEditPage />} />
|
| 233 |
<Route
|
250 |
</Route>
|
| 234 |
path='/group/my-groups/edit/:uuid'
|
251 |
</Route>
|
| - |
|
252 |
|
| 235 |
element={<GroupEditPage />}
|
253 |
<Route path='/company'>
|
| 236 |
/>
|
254 |
<Route index element={<Navigate to='my-companies' />} />
|
| 237 |
<Route path='/company/my-companies' element={<MyCompanies />} />
|
255 |
<Route path='my-companies' element={<MyCompanies />} />
|
| 238 |
<Route
|
256 |
<Route
|
| 239 |
path='/company/following-companies'
|
257 |
path='following-companies'
|
| 240 |
element={<FollowingCompaniesPage />}
|
258 |
element={<FollowingCompaniesPage />}
|
| 241 |
/>
|
259 |
/>
|
| 242 |
<Route
|
260 |
<Route path='i-work-with' element={<CompaniesWhenIWorkPage />} />
|
| 243 |
path='/company/i-work-with'
|
261 |
<Route path='requests-sent' element={<CompanyRequestSendPage />} />
|
| 244 |
element={<CompaniesWhenIWorkPage />}
|
262 |
<Route path='requests-sent' element={<CompanyRequestSendPage />} />
|
| 245 |
/>
|
- |
|
| 246 |
<Route
|
263 |
<Route
|
| 247 |
path='/company/requests-sent'
|
264 |
path='invitations-received'
|
| 248 |
element={<CompanyRequestSendPage />}
|
265 |
element={<CompanyInvitationsReceivedPage />}
|
| 249 |
/>
|
266 |
/>
|
| - |
|
267 |
<Route path='view/:uuid' element={<CompanyViewPage />} />
|
| 250 |
<Route
|
268 |
</Route>
|
| - |
|
269 |
|
| 251 |
path='/company/requests-sent'
|
270 |
<Route path='/knowledge-area' element={<KnowledgeAreaPage />}>
|
| 252 |
element={<CompanyRequestSendPage />}
|
271 |
<Route path='view/:uuid' element={<KnowledgeViewPage />} />
|
| 253 |
/>
|
- |
|
| 254 |
<Route
|
272 |
</Route>
|
| - |
|
273 |
|
| 255 |
path='/company/invitations-received'
|
274 |
<Route path='/my-coach' element={<MyCoachPage />}>
|
| 256 |
element={<CompanyInvitationsReceivedPage />}
|
275 |
<Route path='questions/view/:uuid' element={<MyCoachViewPage />} />
|
| 257 |
/>
|
276 |
</Route>
|
| - |
|
277 |
|
| 258 |
<Route path='/company/view/:uuid' element={<CompanyViewPage />} />
|
278 |
<Route path='/microlearning' element={<MicroLearningPage />} />
|
| - |
|
279 |
<Route path='/account-settings' element={<AccountSettingsPage />} />
|
| 259 |
<Route path='/marketplace' element={<MarketPlacePage />} />
|
280 |
<Route path='/marketplace' element={<MarketPlacePage />} />
|
| 260 |
<Route path='/notifications' element={<NotificationsPage />} />
|
281 |
<Route path='/notifications' element={<NotificationsPage />} />
|
| 261 |
<Route path='/search/entity/:category' element={<SearchPage />} />
|
282 |
<Route path='/search/entity/:category' element={<SearchPage />} />
|
| 262 |
<Route
|
- |
|
| 263 |
path='/knowledge-area/view/:uuid'
|
- |
|
| 264 |
element={<KnowledgeViewPage />}
|
- |
|
| 265 |
/>
|
- |
|
| 266 |
<Route path='/knowledge-area' element={<KnowledgeAreaPage />} />
|
- |
|
| 267 |
<Route path='/job/view/:uuid' element={<JobViewPage />} />
|
- |
|
| 268 |
<Route path='/post/:uuid' element={<PostViewPage />} />
|
- |
|
| 269 |
<Route path='/calendar' element={<CalendarPage />} />
|
283 |
<Route path='/calendar' element={<CalendarPage />} />
|
| 270 |
<Route
|
- |
|
| 271 |
path='/my-coach/questions/view/:uuid'
|
- |
|
| 272 |
element={<MyCoachViewPage />}
|
- |
|
| 273 |
/>
|
- |
|
| 274 |
<Route exact path='/my-coach' element={<MyCoachPage />} />
|
284 |
<Route path='/inmail' element={<InmailPage />} />
|
| 275 |
<Route path='/signin/impersonate' element={<ImpersonatePage />} />
|
285 |
<Route path='/signin/impersonate' element={<ImpersonatePage />} />
|
| 276 |
<Route exact path='/inmail' element={<InmailPage />} />
|
286 |
<Route path='/post/:uuid' element={<PostViewPage />} />
|
| 277 |
</Route>
|
287 |
</Route>
|
| 278 |
</Routes>
|
288 |
</Routes>
|
| 279 |
</Suspense>
|
289 |
</Suspense>
|
| 280 |
)
|
290 |
)
|
| 281 |
}
|
291 |
}
|