| Línea 13... |
Línea 13... |
| 13 |
|
13 |
|
| 14 |
/* Layouts */
|
14 |
/* Layouts */
|
| 15 |
import RootLayout from '@layouts/root'
|
15 |
import RootLayout from '@layouts/root'
|
| 16 |
import AppsNavigation from '@pages/apps-navigation/AppsNavigation'
|
16 |
import AppsNavigation from '@pages/apps-navigation/AppsNavigation'
|
| - |
|
17 |
import CreateHabitPage from '@pages/habits/create'
|
| - |
|
18 |
import PurposesPage from '@pages/habits/purposes/purposes-page'
|
| 17 |
import CreateHabitPage from '@pages/habits/create'
|
19 |
import CreatePurposePage from '@pages/habits/purposes/create-purpose-page'
|
| 18 |
const InmailLayout = lazy(() => import('@layouts/inmail/inmail-layout'))
|
20 |
const InmailLayout = lazy(() => import('@layouts/inmail/inmail-layout'))
|
| 19 |
const AuthLayout = lazy(() => import('@layouts/auth/auth-layout'))
|
21 |
const AuthLayout = lazy(() => import('@layouts/auth/auth-layout'))
|
| 20 |
const HabitsLayout = lazy(() => import('@layouts/habits/habits-layout'))
|
22 |
const HabitsLayout = lazy(() => import('@layouts/habits/habits-layout'))
|
| 21 |
const MicrolearningLayout = lazy(() =>
|
23 |
const MicrolearningLayout = lazy(() =>
|
| Línea 47... |
Línea 49... |
| 47 |
// const Navigation = lazy(() => import('@pages/auth/navigation'))
|
49 |
// const Navigation = lazy(() => import('@pages/auth/navigation'))
|
| 48 |
const ForgotPassword = lazy(() => import('@pages/auth/forgot-password'))
|
50 |
const ForgotPassword = lazy(() => import('@pages/auth/forgot-password'))
|
| 49 |
const ActiveAccount = lazy(() => import('@pages/auth/active-account'))
|
51 |
const ActiveAccount = lazy(() => import('@pages/auth/active-account'))
|
| 50 |
const ResetPassword = lazy(() => import('@pages/auth/reset-password'))
|
52 |
const ResetPassword = lazy(() => import('@pages/auth/reset-password'))
|
| 51 |
const ValuesPage = lazy(() => import('@pages/habits/values-page'))
|
53 |
const ValuesPage = lazy(() => import('@pages/habits/values-page'))
|
| 52 |
const PurposesPage = lazy(() => import('@layouts/habits/purposes-layout'))
|
54 |
const PurposesLayout = lazy(() => import('@layouts/habits/purposes-layout'))
|
| 53 |
const HabitsPage = lazy(() => import('@pages/habits/habits-page'))
|
55 |
const HabitsPage = lazy(() => import('@pages/habits/habits-page'))
|
| 54 |
const ParadigmsPage = lazy(() => import('@pages/habits/paradigms-page'))
|
56 |
const ParadigmsPage = lazy(() => import('@pages/habits/paradigms-page'))
|
| 55 |
const GoalsPage = lazy(() => import('@pages/habits/goals-page'))
|
57 |
const GoalsPage = lazy(() => import('@pages/habits/goals-page'))
|
| 56 |
const AbuseReportPage = lazy(() =>
|
58 |
const AbuseReportPage = lazy(() =>
|
| 57 |
import('@pages/abuse-report/abuse-repor-page')
|
59 |
import('@pages/abuse-report/abuse-repor-page')
|
| Línea 202... |
Línea 204... |
| 202 |
<ValuesProvider>
|
204 |
<ValuesProvider>
|
| 203 |
<ValuesPage />
|
205 |
<ValuesPage />
|
| 204 |
</ValuesProvider>
|
206 |
</ValuesProvider>
|
| 205 |
}
|
207 |
}
|
| 206 |
/>
|
208 |
/>
|
| - |
|
209 |
|
| 207 |
<Route path='purposes' element={<PurposesPage />} />
|
210 |
<Route path='purposes' element={<PurposesLayout />}>
|
| - |
|
211 |
<Route index element={<PurposesPage />} />
|
| - |
|
212 |
<Route path='create' element={<CreatePurposePage />} />
|
| - |
|
213 |
</Route>
|
| - |
|
214 |
|
| 208 |
<Route
|
215 |
<Route
|
| 209 |
path='goals'
|
216 |
path='goals'
|
| 210 |
element={
|
217 |
element={
|
| 211 |
<GoalsProvider>
|
218 |
<GoalsProvider>
|
| 212 |
<GoalsPage />
|
219 |
<GoalsPage />
|