import { lazy } from 'react'; // project import import Loadable from 'components/Loadable'; // import MainLayout from 'layout/MainLayout'; const MainLayout = Loadable(lazy(() => import('layout/MainLayout'))); // render - dashboard const DashboardDefault = Loadable(lazy(() => import('pages/Dashboard/GLD'))); const ApplicationDetail = Loadable(lazy(() => import('pages/PublicNotice/Details_GLD'))); const ApplicationSearch = Loadable(lazy(() => import('pages/PublicNotice/Search_GLD'))); const ProofSearch = Loadable(lazy(() => import('pages/Proof/Search_GLD'))); const ProofCreate_FromApp = Loadable(lazy(() => import('pages/Proof/Create_FromApp'))); const ProofReply_GLD = Loadable(lazy(() => import('pages/Proof/Reply_GLD'))); const PaymentSearch_GLD = Loadable(lazy(() => import('pages/Payment/Search_GLD'))); const PaymentDetails_GLD = Loadable(lazy(() => import('pages/Payment/Details_GLD'))); const DemandNote_Create = Loadable(lazy(() => import('pages/DemandNote/Create'))); const DemandNote_Search = Loadable(lazy(() => import('pages/DemandNote/Search'))); const DemandNote_Details = Loadable(lazy(() => import('pages/DemandNote/Details'))); const GFMIS_Search = Loadable(lazy(() => import('pages/GFMIS'))); const UserMaintainPage = Loadable(lazy(() => import('pages/User/GLDUserProfile'))); const SystemSetting = Loadable(lazy(() => import('pages/Setting/SystemSetting'))); const AnnouncementDetails = Loadable(lazy(() => import('pages/Announcement/Details'))); const AnnouncementSearch = Loadable(lazy(() => import('pages/Announcement/Search'))); const EmailTemplatePage = Loadable(lazy(() => import('pages/EmailTemplate/Search_GLD'))); const EmailTemplateDetailPage = Loadable(lazy(() => import('pages/EmailTemplate/Detail_GLD'))); const HolidayPage = Loadable(lazy(() => import('pages/Holiday'))); const GazetteIssuePage = Loadable(lazy(() => import('pages/GazetteIssue/index'))); const DrImport = Loadable(lazy(() => import('pages/Setting/DrImport'))); // ==============================|| MAIN ROUTING ||============================== // const GLDUserRoutes = { path: '/', element: , children: [ { path: '/', element: }, { path: '/', children: [ { path: 'dashboard', element: }, { path: '/application/:id', element: }, { path: '/application/search', element: }, { path: '/proof/search', element: }, { path: '/proof/create/:id', element: }, { path: '/proof/reply/:id', element: }, { path: '/paymentPage/search', element: }, { path: '/paymentPage/details/:id', element: }, { path: '/paymentPage/createDemandNote', element: }, { path: '/paymentPage/demandNote', element: }, { path: '/paymentPage/demandNote/details/:id', element: }, { path: '/gfmis/search', element: }, { path: '/user/profile', element: }, { path: '/setting/sys', element: }, { path: '/setting/announcement', element: }, { path: '/setting/announcement/details/:id', element: }, { path: '/setting/emailTemplate', element: }, { path: '/setting/emailTemplate/:id', element: }, { path: '/setting/holiday', element: }, { path: '/setting/gazetteissuepage', element: }, { path: '/setting/drImport', element: }, ] }, ] }; export default GLDUserRoutes;