/** All app routes 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 Sidenav. For adding a new route you can follow the existing routes in the routes array. 1. The `type` key with the `collapse` value is used for a route. 2. The `type` key with the `title` value is used for a title inside the Sidenav. 3. The `type` key with the `divider` value is used for a divider between Sidenav items. 4. The `name` key is used for the name of the route on the Sidenav. 5. The `key` key is used for the key of the route (It will help you with the key prop inside a loop). 6. The `icon` key is used for the icon of the route on the Sidenav, you have to add a node. 7. The `collapse` key is used for making a collapsible item on the Sidenav that contains other routes inside (nested routes), you need to pass the nested routes inside an array as a value for the `collapse` key. 8. The `route` key is used to store the route location which is used for the react router. 9. The `href` key is used to store the external links location. 10. The `title` key is only for the item with the type of `title` and its used for the title text on the Sidenav. 11. The `component` key is used to store the component of its route. */ // layouts import Home from "~/pages/index" // import About from "~/pages/about" import Participate from "~/pages/participate" import Analytics from "~/pages/dashboards/analytics" import Sales from "~/pages/dashboards/sales" import ProfileOverview from "~/pages/profile/profile-overview" import AllProjects from "~/pages/profile/all-projects" import NewUser from "~/pages/users/new-user" import Settings from "~/components/account/settings" import Billing from "~/components/account/billing" import Invoice from "~/components/account/invoice" import Timeline from "~/pages/projects/timeline" import Pricing from "~/pages/pricing" import Widgets from "~/pages/widgets" import RTL from "~/pages/rtl" import Charts from "~/pages/charts" import Notifications from "~/pages/notifications" import Kanban from "~/components/applications/kanban" import Wizard from "~/components/applications/wizard" import DataTables from "~/components/applications/data-tables" import Calendar from "~/components/applications/calendar" import NewProduct from "~/pages/dashboards/ecommerce/products/new-product" import EditProduct from "~/pages/dashboards/ecommerce/products/edit-product" import ProductPage from "~/pages/dashboards/ecommerce/products/product-page" import OrderList from "~/pages/dashboards/ecommerce/orders/order-list" import OrderDetails from "~/pages/dashboards/ecommerce/orders/order-details" import SignInBasic from "~/pages/authentication/sign-in/basic" import SignInCover from "~/pages/authentication/sign-in/cover" import SignInIllustration from "~/pages/authentication/sign-in/illustration" import SignUpCover from "~/pages/authentication/sign-up/cover" import ResetCover from "~/pages/authentication/reset-password/cover" // ThreeD Garden components import MDAvatar from "~/components/mui/MDAvatar" // @mui icons import Icon from "@mui/material/Icon" import AddHomeWorkIcon from "@mui/icons-material/AddHomeWork" import AdminPanelSettingsIcon from "@mui/icons-material/AdminPanelSettings" import BadgeIcon from "@mui/icons-material/Badge" // Images import profilePicture from "~/assets/images/people/team-0.png" const routes = [ // { // type: "collapse", // name: "Garden Master", // key: "juice-master", // icon: , // collapse: [ // { // name: "My Profile", // key: "my-profile", // route: "/profile/profile-overview", // component: , // }, // { // name: "Settings", // key: "profile-settings", // route: "/account/settings", // component: , // }, // { // name: "Logout", // key: "logout", // route: "/authentication/sign-in/basic", // component: , // }, // ], // }, // { type: "divider", key: "divider-threed" }, // { type: "title", title: "ThreeD Garden", key: "title-threed" }, // { // type: "collapse", // noCollapse: true, // name: "Home", // key: "home", // route: "/", // // component: , // icon: home, // }, { type: "collapse", noCollapse: true, name: "About", key: "about", route: "/about", // component: , icon: , }, { type: "collapse", noCollapse: true, name: "Participate", key: "participate", route: "/participate", // component: , icon: agriculture, }, { type: "divider", key: "divider-dashboards" }, { type: "collapse", name: "Adventures", key: "dashboards", icon: dashboard, collapse: [ { name: "Analytics", key: "analytics", route: "/dashboards/analytics", component: , }, { name: "Sales", key: "sales", route: "/dashboards/sales", component: , }, ], }, { type: "divider", key: "divider-pages" }, // { type: "title", title: "Pages", key: "title-pages" }, { type: "collapse", name: "Pages", key: "pages", icon: pages, collapse: [ { name: "Profile", key: "profile", collapse: [ { name: "Profile Overview", key: "profile-overview", route: "/profile/profile-overview", component: , }, { name: "All Projects", key: "all-projects", route: "/profile/all-projects", component: , }, ], }, { name: "Users", key: "users", collapse: [ { name: "New User", key: "new-user", route: "/users/new-user", component: , }, ], }, { name: "Account", key: "account", collapse: [ { name: "Settings", key: "settings", route: "/account/settings", component: , }, { name: "Billing", key: "billing", route: "/account/billing", component: , }, { name: "Invoice", key: "invoice", route: "/account/invoice", component: , }, ], }, { name: "Projects", key: "projects", collapse: [ { name: "Timeline", key: "timeline", route: "/projects/timeline", component: , }, ], }, { name: "Pricing", key: "pricing", route: "/pricing", component: , }, // { // name: "RTL", // key: "rtl", // route: "/rtl", // component: // }, { name: "Widgets", key: "widgets", route: "/widgets", component: , }, { name: "Charts", key: "charts", route: "/charts", component: , }, { name: "Notfications", key: "notifications", route: "/notifications", component: , }, ], }, { type: "collapse", name: "Applications", key: "applications", icon: apps, collapse: [ { name: "Kanban", key: "kanban", route: "/applications/kanban", component: , }, { name: "Wizard", key: "wizard", route: "/applications/wizard", component: , }, { name: "Data Tables", key: "data-tables", route: "/applications/data-tables", component: , }, { name: "Calendar", key: "calendar", route: "/applications/calendar", component: , }, ], }, { type: "collapse", name: "Ecommerce", key: "ecommerce", icon: shopping_basket, collapse: [ { name: "Products", key: "products", collapse: [ { name: "New Product", key: "new-product", route: "/ecommerce/products/new-product", component: , }, { name: "Edit Product", key: "edit-product", route: "/ecommerce/products/edit-product", component: , }, { name: "Product Page", key: "product-page", route: "/ecommerce/products/product-page", component: , }, ], }, { name: "Orders", key: "orders", collapse: [ { name: "Order List", key: "order-list", route: "/ecommerce/orders/order-list", component: , }, { name: "Order Details", key: "order-details", route: "/ecommerce/orders/order-details", component: , }, ], }, ], }, { type: "collapse", name: "Authentication", key: "authentication", icon: , collapse: [ { name: "Sign In", key: "sign-in", collapse: [ { name: "Basic", key: "basic", route: "/authentication/sign-in/basic", component: , }, { name: "Cover", key: "cover", route: "/authentication/sign-in/cover", component: , }, { name: "Illustration", key: "illustration", route: "/authentication/sign-in/illustration", component: , }, ], }, { name: "Sign Up", key: "sign-up", collapse: [ { name: "Cover", key: "cover", route: "/authentication/sign-up/cover", component: , }, ], }, { name: "Reset Password", key: "reset-password", collapse: [ { name: "Cover", key: "cover", route: "/authentication/reset-password/cover", component: , }, ], }, ], }, { type: "divider", key: "divider-docs" }, // { type: "title", title: "Docs", key: "title-docs" }, { type: "collapse", name: "Docs", key: "docs", icon: upcoming, collapse: [ { name: "Getting Started", key: "getting-started", collapse: [ { name: "Overview", key: "overview", href: "#react/overview/material-dashboard/", }, { name: "License", key: "license", href: "#react/license/material-dashboard/", }, { name: "Quick Start", key: "quick-start", href: "#react/quick-start/material-dashboard/", }, { name: "Build Tools", key: "build-tools", href: "#react/build-tools/material-dashboard/", }, ], }, { name: "Foundation", key: "foundation", collapse: [ { name: "Functions", key: "functions", href: "#react/functions/material-dashboard/", }, { name: "Routing System", key: "routing-system", href: "#react/routing-system/material-dashboard/", }, ], }, ], }, { type: "collapse", name: "View Code", key: "codebase", href: "https://github.com/marty-mcgee/threed-garden/", icon: receipt_long, noCollapse: true, }, ] export default routes