Commit 436196fe authored by janithgamage1.ed's avatar janithgamage1.ed

fix: update

Desc : update project
parent 56189894
...@@ -85,7 +85,13 @@ const application: NavItemType = { ...@@ -85,7 +85,13 @@ const application: NavItemType = {
// title: <FormattedMessage id="learning-list" />, // title: <FormattedMessage id="learning-list" />,
// type: 'item', // type: 'item',
// url: '/learning-management/list', // url: '/learning-management/list',
// }, // },
{
id: 'learning-dashboard',
title: <FormattedMessage id="learning-dashboard" />,
type: 'item',
url: '/learning-management/dashboard',
},
{ {
id: 'learning-curriculums', id: 'learning-curriculums',
title: <FormattedMessage id="learning-curriculums" />, title: <FormattedMessage id="learning-curriculums" />,
......
// material-ui
// third-party
// project import
import MainCard from 'components/MainCard';
import ScrollX from 'components/ScrollX';
// assets
//types
// ==============================|| Dashboard ||============================== //
const Dashboard = () => {
return (
<MainCard content={false}>
<ScrollX>
</ScrollX>
</MainCard>
)
}
export default Dashboard;
...@@ -41,6 +41,9 @@ const TutorialManagementList = Loadable(lazy(() => import('pages/parameter/tutor ...@@ -41,6 +41,9 @@ const TutorialManagementList = Loadable(lazy(() => import('pages/parameter/tutor
// render - ssl translate process page // render - ssl translate process page
const SSLTranslateProcess = Loadable(lazy(() => import('pages/ssl-translate/process/process'))); const SSLTranslateProcess = Loadable(lazy(() => import('pages/ssl-translate/process/process')));
// render - learning-dashboard page
const LearningDashboard = Loadable(lazy(() => import('pages/learning-management/dashboard')));
// render - learning-curriculums-subscribed page // render - learning-curriculums-subscribed page
const LearningCurriculumsSubscribed = Loadable(lazy(() => import('pages/learning-management/learning-curriculums-subscribed/list/list'))); const LearningCurriculumsSubscribed = Loadable(lazy(() => import('pages/learning-management/learning-curriculums-subscribed/list/list')));
...@@ -99,6 +102,10 @@ const MainRoutes = { ...@@ -99,6 +102,10 @@ const MainRoutes = {
{ {
path: 'learning-management', path: 'learning-management',
children: [ children: [
{
path: 'dashboard',
element: <LearningDashboard />
},
{ {
path: 'curriculums', path: 'curriculums',
element: <LearningCurriculums /> element: <LearningCurriculums />
......
...@@ -161,5 +161,6 @@ ...@@ -161,5 +161,6 @@
"learning-curriculums-subscribed": "My Courses", "learning-curriculums-subscribed": "My Courses",
"learning-lead-board": "Lead Board", "learning-lead-board": "Lead Board",
"learning-feedback": "Feedback", "learning-feedback": "Feedback",
"ssl-translate": "SSL Translate" "ssl-translate": "SSL Translate",
"learning-dashboard": "Dashboard"
} }
\ No newline at end of file
Markdown is supported
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