feat: create navigation pages and update routesConfig

This commit is contained in:
2023-06-04 16:30:01 +01:00
parent d5f0da4b65
commit 1236746ce9
15 changed files with 376 additions and 6 deletions

View File

@@ -0,0 +1,47 @@
import i18next from 'i18next';
import en from './i18n/en';
import Profile from './Profile';
i18next.addResourceBundle('en', 'profilePage', en);
const ProfileConfig = {
settings: {
layout: {
config: {},
},
},
routes: [
{
path: 'profile',
element: <Profile />,
},
],
};
export default ProfileConfig;
/**
* Lazy load Example
*/
/*
import React from 'react';
const Example = lazy(() => import('./Example'));
const ExampleConfig = {
settings: {
layout: {
config: {},
},
},
routes: [
{
path: 'example',
element: <Example />,
},
],
};
export default ExampleConfig;
*/