/** All of the routes for the Material Kit 2 PRO React React are added here, You can add a new route, customize the routes and delete the routes here. Once you add a new route on this file it will be visible automatically on the Navbar. For adding a new route you can follow the existing routes in the routes array. 1. The `name` key is used for the name of the route on the Navbar. 2. The `icon` key is used for the icon of the route on the Navbar. 3. The `collapse` key is used for making a collapsible item on the Navbar that contains other routes inside (nested routes), you need to pass the nested routes inside an array as a value for the `collapse` key. 4. The `route` key is used to store the route location which is used for the react router. 5. The `href` key is used to store the external links location. 7. The `dropdown` key is used to define that the item should open a dropdown for its collapse items . 8. The `description` key is used to define the description of a route under its name. 9. The `columns` key is used to define that how the content should look inside the dropdown menu as columns, you can set the columns amount based on this key. 10. The `rowsPerColumn` key is used to define that how many rows should be in a column. */ // @mui material components import Icon from "@mui/material/Icon" const pageRoutes = [ { name: "pages", columns: 3, rowsPerColumn: 2, collapse: [ { name: "dashboards", icon: dashboard, collapse: [ { name: "analytics", route: "/dashboards/analytics", }, { name: "sales", route: "/dashboards/sales", }, ], }, { name: "users", icon: people, collapse: [ { name: "reports", route: "/users/reports", }, ], }, { name: "extra", icon: queue_play_next, collapse: [ { name: "pricing page", route: "/pricing", }, { name: "RTL", route: "/rtl" }, { name: "widgets", route: "/widgets" }, { name: "charts", route: "/charts" }, { name: "notfications", route: "/notifications", }, ], }, { name: "projects", icon: precision_manufacturing, collapse: [ { name: "timeline", route: "/projects/timeline", }, ], }, { name: "account", icon: account_balance, collapse: [ { name: "settings", route: "/account/setting", }, { name: "billing", route: "/account/billing", }, { name: "invoice", route: "/account/invoice", }, ], }, { name: "profile", icon: badge, collapse: [ { name: "profile overview", route: "/profile/profile-overview", }, { name: "all projects", route: "/profile/all-projects", }, ], }, ], }, { name: "authenticaton", collapse: [ { name: "sign in", dropdown: true, icon: login, collapse: [ { name: "basic", route: "/authentication/sign-in/basic", }, { name: "cover", route: "/authentication/sign-in/cover", }, { name: "illustration", route: "/authentication/sign-in/illustration", }, ], }, { name: "sign up", dropdown: true, icon: assignment, collapse: [ { name: "cover", route: "/authentication/sign-up/cover", }, ], }, { name: "reset password", dropdown: true, icon: restart_alt, collapse: [ { name: "cover", route: "/authentication/reset-password/cover", }, ], }, ], }, { name: "applications", columns: 3, rowsPerColumn: 2, collapse: [ { name: "kanban", route: "/applications/kanban", icon: widgets, }, { name: "wizard", route: "/applications/wizard", icon: import_contacts, }, { name: "data tables", route: "/applications/data-tables", icon: backup_table, }, { name: "calendar", route: "/applications/calendar", icon: event, }, ], }, { name: "ecommerce", columns: 2, rowsPerColumn: 1, collapse: [ { name: "orders", icon: shopping_cart, collapse: [ { name: "order list", route: "/ecommerce/orders/order-list", }, { name: "order details", route: "/ecommerce/orders/order-details", }, ], }, { name: "products", icon: memory, collapse: [ { name: "new product", route: "/ecommerce/products/new-product", }, { name: "edit product", route: "/ecommerce/products/edit-product", }, { name: "product page", route: "/ecommerce/products/product-page", }, ], }, ], }, { name: "docs", collapse: [ { name: "getting started", href: "#react/quick-start/material-dashboard/", description: "All about overview, quick start, license and contents", icon: article, }, { name: "foundation", href: "#react/colors/material-dashboard/", description: "See our colors, icons and typography", icon: grading, }, { name: "components", href: "#react/alerts/material-dashboard/", description: "Explore our collection of fully designed components", icon: apps, }, { name: "plugins", href: "#react/datepicker/material-dashboard/", description: "Check how you can integrate our plugins", icon: extension, }, ], }, ] export default pageRoutes