import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; import { createBrowserRouter, RouterProvider } from "react-router-dom"; import App from "./App.jsx"; import "./index.css"; import { SocketProvider } from "./context/SocketProvider.jsx"; import MentifyStore from "../src/store/index.js"; import { Provider } from "react-redux"; import LoginPage from "./pages/Login/LoginPage.jsx"; import SignupPage from "./pages/Login/SignupPage.jsx"; import MainUserPanel from "./pages/UserPanel/MainUserPanel.jsx"; import ForgetPassword from "./pages/Password/ForgetPassword.jsx"; import ResetPassword from "./pages/Password/ResetPassword.jsx"; import HomePage from "./pages/Home/HomePage.jsx"; import Dashboard from "./pages/UserPanel/Dashboard.jsx"; import History from "./pages/UserPanel/History.jsx"; import Notifications from "./pages/UserPanel/Notifications.jsx"; import Settings from "./pages/UserPanel/Settings.jsx"; import ScheduleMeeting from "./pages/UserPanel/ScheduleMeeting.jsx"; import Support from "./pages/UserPanel/Support.jsx"; import FeedBackAndRatings from "./pages/UserPanel/FeedBackAndRatings.jsx"; const router = createBrowserRouter([ { path: "/", element: , children: [ { path: "/", element: , }, { path: "/home", element: , }, ], }, { path: "/user", element: , children: [ { path: "/user/login", element: , }, { path: "/user/dashboard", element: , children: [ { path: "/user/dashboard", element: , }, { path: "/user/dashboard/history", element: , }, { path: "/user/dashboard/notifications", element: , }, { path: "/user/dashboard/settings", element: , }, { path: "/user/dashboard/scheduledmeetings", element: , }, { path: "/user/dashboard/support", element: , }, { path: "/user/dashboard/feedback", element: , }, ], }, { path: "/user/signup", element: , }, { path: "/user/forgetpassword", element: , }, { path: "/user/api/v1/password/reset/:token", element: , }, ], }, ]); createRoot(document.getElementById("root")).render( );