// import Index from "views/Index.js"; // import Profile from "views/examples/Profile.js"; // // import Maps from "views/examples/Maps.js"; // import Register from "views/examples/Register.js"; // import Login from "views/examples/Login.js"; // import Tables from "views/examples/Tables.js"; // import Icons from "views/examples/Icons.js"; // import Logout from "views/examples/Logout"; // import "bootstrap-icons/font/bootstrap-icons.css"; // import { Children } from "react"; // import UserDetailsView from "components/Dashboard/UserDetailsView"; // import SetupView from "components/Dashboard/SetupView"; // import UserMaintenanceView from "components/Dashboard/UserMaintenanceView"; // import MenuAccessControl from "components/Dashboard/MenuAccessControl"; // import UserGroupMaintenance from "components/Dashboard/UserGroupMaintenance"; // import SystemParameterForm from "components/Dashboard/SystemParameter"; // import MenuMaintenance from "components/Dashboard/MenuMaintenance"; // import AccessTypeManagement from "components/Dashboard/AccessType"; // import APIRegistry from "components/Dashboard/APIRegistry"; // import TOKENRegistry from "components/Dashboard/TOKENRegistry"; // import SequenceGenerator from "components/Dashboard/sequencegenerator"; // import DataType2 from "components/Dashboard/DataType2"; // import DataType3 from "components/Dashboard/DataType3"; // import DataType4 from "components/Dashboard/DataType4"; // import DataType5 from "components/Dashboard/DataType5"; // import DataType6 from "components/Dashboard/DataType6"; // import DynamicTable from "components/Dashboard/DynamicTable"; // import ResetPassword from "views/examples/resetPassword"; // // import DataManagement from "components/Sidebar/DataManagement"; // var routes = [ // { // path: "/index", // name: "Dashboard", // icon: "bi bi-speedometer2 text-primary", // component: , // layout: "/admin", // showInSidebar: true // }, // { // path: "/icons", // name: "Icons", // icon: "bi bi-stars text-blue", // component: , // layout: "/admin", // showInSidebar: false // }, // // { // // path: "/maps", // // name: "Maps", // // icon: "bi bi-geo-alt text-orange", // // component: , // // layout: "/admin", // // }, // { // path: "/profile", // name: "User Profile", // icon: "bi bi-person text-yellow", // component: , // layout: "/admin", // showInSidebar: false // }, // { // path: "/report", // name: "User Report", // icon: "bi bi-clipboard-data text-secondary", // component: , // Replace with actual component // layout: "/admin", // showInSidebar: true // }, // { // path: "/tables", // name: "Tables", // icon: "bi bi-table text-red", // component: , // layout: "/admin", // showInSidebar: false // }, // { // path: "/data", // name: "Data Management", // icon: "bi bi-database text-success", // component: , // layout: "/admin", // showInSidebar: false, // }, // { // path: "/transaction", // name: "Transactions", // icon: "bi bi-cash-stack text-warning", // component: , // layout: "/admin", // showInSidebar: false // }, // { // path: "/login", // name: "Login", // icon: "bi bi-box-arrow-in-right text-info", // component: , // layout: "/auth", // showInSidebar: false // }, // { // path: "/resetpassword", // name: "ResetPassword", // icon: "bi bi-box-arrow-in-right text-info", // component: , // layout: "/auth", // showInSidebar: false // }, // { // path: "/register", // name: "Register", // icon: "bi bi-person-plus text-pink", // component: , // layout: "/auth", // showInSidebar: false // }, // { // path: "/setting", // name: "Settings", // icon: "bi bi-gear text-blue", // component: , // layout: "/admin", // showInSidebar: true // Make sure this matches the layout you're using // }, // { // path: "/logout", // name: "Logout", // icon: "bi bi-box-arrow-in-left text-info", // component: , // layout: "/auth", // showInSidebar: false, // }, // { // path: "/user-maintenance", // name: "User Maintenance", // icon: "fa fa-user-cog", // component: , // should be a component function or class // layout: "/admin", // showInSidebar: false // }, // { // path: "/menu-access-control", // name: "Menu Access Control", // icon: "fa-solid fa-lock", // component: , // should be a component function or class // layout: "/admin", // showInSidebar: false // }, // { // path: "/user-group-maintenance", // name: "User Group Maintenance", // icon: "fa-solid fa-users", // component: , // should be a component function or class // layout: "/admin", // showInSidebar: false // }, // { // path: "/system-parameter", // name: "System Parameter", // icon: "fa-solid fa-gears", // component: , // should be a component function or class // layout: "/admin", // showInSidebar: false // }, // { // path: "/menu-maintenance", // name: "Menu Maintenance", // icon: "fa-solid fa-utensils", // component: , // should be a component function or class // layout: "/admin", // showInSidebar: false // }, // { // path: "/access-type", // name: "Access-Type", // icon: "fa-solid fa-utensils", // component: , // should be a component function or class // layout: "/admin", // showInSidebar: false // }, // { // path: "/api-registry", // name: "API-Ragistry", // icon: "fa-solid fa-utensils", // component: , // should be a component function or class // layout: "/admin", // showInSidebar: false // }, // { // path: "/token-registry", // name: "Token-Registry", // icon: "fa-solid fa-utensils", // component: , // should be a component function or class // layout: "/admin", // showInSidebar: false // }, // { // path: "/datatype-1", // name: "Datatype-1", // icon: "fa-solid fa-utensils", // component: , // should be a component function or class // layout: "/admin", // showInSidebar: false // }, // { // path: "/datatype-2", // name: "Datatype-2", // icon: "fa-solid fa-utensils", // component: , // should be a component function or class // layout: "/admin", // showInSidebar: false // }, // { // path: "/datatype-3", // name: "Datatype-3", // icon: "fa-solid fa-utensils", // component: , // should be a component function or class // layout: "/admin", // showInSidebar: false // }, // { // path: "/datatype-4", // name: "Datatype-4", // icon: "fa-solid fa-utensils", // component: , // should be a component function or class // layout: "/admin", // showInSidebar: false // }, // { // path: "/datatype-5", // name: "Datatype-5", // icon: "fa-solid fa-utensils", // component: , // should be a component function or class // layout: "/admin", // showInSidebar: false // }, // { // path: "/datatype-6", // name: "Datatype-6", // icon: "fa-solid fa-utensils", // component: , // should be a component function or class // layout: "/admin", // showInSidebar: false // }, // { // path: "/dynamic-table", // name: "Dynamic-Table", // icon: "fa-solid fa-utensils", // component: , // should be a component function or class // layout: "/admin", // showInSidebar: false // }, // ]; // export default routes; import Index from "views/Index.js"; import Icons from "views/examples/Icons.js"; import "bootstrap-icons/font/bootstrap-icons.css"; import UserDetailsView from "components/Dashboard/Reportbuilder/UserDetailsView"; import Register from "views/examples/Register.js"; import Login from "views/examples/Login.js"; import SetupView from "components/Dashboard/SetupView"; import UserMaintenanceView from "components/Dashboard/UserMaintenanceView"; import MenuAccessControl from "components/Dashboard/MenuAccessControl"; import UserGroupMaintenance from "components/Dashboard/UserGroupMaintenance"; import SystemParameterForm from "components/Dashboard/SystemParameter"; import MenuMaintenance from "components/Dashboard/MenuMaintenance"; import AccessTypeManagement from "components/Dashboard/AccessType"; import APIRegistry from "components/Dashboard/APIRegistry"; import TOKENRegistry from "components/Dashboard/TOKENRegistry"; import SequenceGenerator from "components/Dashboard/sequencegenerator"; import DataType2 from "components/Dashboard/DataType2"; import DataType3 from "components/Dashboard/DataType3"; import DataType4 from "components/Dashboard/DataType4"; import DataType5 from "components/Dashboard/DataType5"; import DataType6 from "components/Dashboard/DataType6"; import Logout from "views/examples/Logout"; import ResetPassword from "views/examples/resetPassword"; import DynamicForm from "components/Dashboard/DynamicForm/DynamicForm2"; var routes = [ { name: "header11", "submenu": [ { path: "/index", name: "Dashboard", icon: "bi bi-speedometer2 text-primary", component: , layout: "/admin", showInSidebar: true }, { path: "/admin/icons", name: "Icons", icon: "bi bi-stars text-blue", component: Icons , layout: "/admin", showInSidebar: true }, ] }, { name: "header2", "submenu": [ { path: "/admin/dynamic-form", name: "Dynamic-Form", icon: "fa-solid fa-utensils", component: , // should be a component function or class layout: "/admin", showInSidebar: true }, { path: "/admin/user-report", name: "User Report", icon: "bi bi-clipboard-data text-secondary", component: , // Replace with actual component layout: "/admin", showInSidebar: true }, { path: "/auth/login", name: "Login", icon: "bi bi-box-arrow-in-right text-info", component: , // Ensure this is an imported React component layout: "/auth", }, { path: "/auth/resetpassword", name: "ResetPassword", icon: "bi bi-box-arrow-in-right text-info", component: , layout: "/auth", showInSidebar: false }, { path: "/auth/register", name: "Register", icon: "bi bi-person-plus text-pink", component:Register , layout: "/auth", showInSidebar: false }, { path: "/admin/setting", name: "Settings", icon: "bi bi-gear text-blue", component: , layout: "/admin", showInSidebar: true // Make sure this matches the layout you're using }, { path: "/auth/logout", name: "Logout", icon: "bi bi-box-arrow-in-left text-info", component: , layout: "/auth", showInSidebar: false, }, { path: "/admin/user-maintenance", name: "User Maintenance", icon: "fa fa-user-cog", component: , // should be a component function or class layout: "/admin", showInSidebar: false }, { path: "/admin/menu-access-control", name: "Menu Access Control", icon: "fa-solid fa-lock", component: , // should be a component function or class layout: "/admin", showInSidebar: false }, { path: "/admin/user-group-maintenance", name: "User Group Maintenance", icon: "fa-solid fa-users", component: , // should be a component function or class layout: "/admin", showInSidebar: false }, { path: "/admin/system-parameter", name: "System Parameter", icon: "fa-solid fa-gears", component: , // should be a component function or class layout: "/admin", showInSidebar: false }, { path: "/admin/menu-maintenance", name: "Menu Maintenance", icon: "fa-solid fa-utensils", component: , // should be a component function or class layout: "/admin", showInSidebar: false }, { path: "/admin/access-type", name: "Access-Type", icon: "fa-solid fa-utensils", component: , // should be a component function or class layout: "/admin", showInSidebar: false }, { path: "/admin/api-registry", name: "API-Ragistry", icon: "fa-solid fa-utensils", component: , // should be a component function or class layout: "/admin", showInSidebar: false }, { path: "/admin/token-registry", name: "Token-Registry", icon: "fa-solid fa-utensils", component: , // should be a component function or class layout: "/admin", showInSidebar: false }, { path: "/admin/datatype-1", name: "Datatype-1", icon: "fa-solid fa-utensils", component: , // should be a component function or class layout: "/admin", showInSidebar: false }, { path: "/admin/datatype-2", name: "Datatype-2", icon: "fa-solid fa-utensils", component: , // should be a component function or class layout: "/admin", showInSidebar: false }, { path: "/admin/datatype-3", name: "Datatype-3", icon: "fa-solid fa-utensils", component: , // should be a component function or class layout: "/admin", showInSidebar: false }, { path: "/admin/datatype-4", name: "Datatype-4", icon: "fa-solid fa-utensils", component: , // should be a component function or class layout: "/admin", showInSidebar: false }, { path: "/admin/datatype-5", name: "Datatype-5", icon: "fa-solid fa-utensils", component: , // should be a component function or class layout: "/admin", showInSidebar: false }, { path: "/admin/datatype-6", name: "Datatype-6", icon: "fa-solid fa-utensils", component: , // should be a component function or class layout: "/admin", showInSidebar: false }, ] } ]; export default routes;