diff --git a/client/src/routes/routes.jsx b/client/src/routes/routes.jsx index 8994fd2..b2124ca 100644 --- a/client/src/routes/routes.jsx +++ b/client/src/routes/routes.jsx @@ -1,21 +1,117 @@ +// import App from "../App"; +// import { createBrowserRouter } from 'react-router-dom'; +// import HomePage from "../pages/Home"; +// import About from "../pages/About"; +// import Blog from "../pages/Blog"; +// import ContactUs from "../pages/ContactUs"; +// import News from "../pages/News"; +// import Contributors from "../pages/Contributors"; +// import VideoRoom from "../pages/VideoRoom"; +// import Signin from "../pages/SignIn"; +// import Registration from "../pages/Registration"; +// import NotFoundPage from "../pages/NotFoundPage"; +// import CareCoPilot from "../pages/CareCoPilot"; +// import VaccineReminder from "../pages/VaccineReminder"; +// import PersonalisedLearningHub from "../pages/LearningHub"; +// import DoctorDetails from "../pages/DoctorDetails"; +// import LearningHub from "../pages/LearningHub"; +// import consultationPage from "../pages/consult"; + +// const router = createBrowserRouter([ +// { +// path: "/", +// element: , +// children: [ +// { +// path: "", +// element: , +// }, +// { +// path: "about", +// element: , +// }, +// { +// path: "blog", +// element: , +// }, +// { +// path: "contactus", +// element: , +// }, +// { +// path: "news", +// element: , +// }, +// { +// path: "contributors", +// element: , +// }, +// { +// path: "consultation", +// element: , +// children: [ +// { +// path: "doctordetail/:id", +// element: , +// }, +// ], +// }, +// { +// path: "learning-hub", +// element: , +// }, +// { +// path: "vaccineReminder", +// element: , +// }, +// { +// { +// path: "care-co-pilot", +// element: , +// }, +// { +// path: "*", +// element: , +// handle: { noLayout: true }, +// } + +// }, +// ], +// }, +// { +// path: "/registration", +// element: , +// }, +// { +// path: "/signin", +// element: , +// }, +// { +// path: "room/:roomId", +// element: , +// }, +// ]); +// export default router; + + + import App from "../App"; -import { createBrowserRouter } from 'react-router-dom'; +import { createBrowserRouter } from "react-router-dom"; import HomePage from "../pages/Home"; -import About from "../pages/About"; -import Blog from "../pages/Blog"; -import ContactUs from "../pages/ContactUs"; -import News from "../pages/News"; -import Contributors from "../pages/Contributors"; -import VideoRoom from "../pages/VideoRoom"; -import Signin from "../pages/SignIn"; -import Registration from "../pages/Registration"; -import NotFoundPage from "../pages/NotFoundPage"; -import CareCoPilot from "../pages/CareCoPilot"; -import VaccineReminder from "../pages/VaccineReminder"; -import PersonalisedLearningHub from "../pages/LearningHub"; -import DoctorDetails from "../pages/DoctorDetails"; +import About from "../pages/About"; +import Blog from "../pages/Blog"; +import ContactUs from "../pages/ContactUs"; +import News from "../pages/News"; +import Contributors from "../pages/Contributors"; +import VideoRoom from "../pages/VideoRoom"; +import Signin from "../pages/SignIn"; +import Registration from "../pages/Registration"; +import NotFoundPage from "../pages/NotFoundPage"; +import CareCoPilot from "../pages/CareCoPilot"; +import VaccineReminder from "../pages/VaccineReminder"; import LearningHub from "../pages/LearningHub"; -import consultationPage from "../pages/consult"; +import DoctorDetails from "../pages/DoctorDetails"; +import consultationPage from "../pages/consult"; const router = createBrowserRouter([ { @@ -65,16 +161,13 @@ const router = createBrowserRouter([ element: , }, { -{ - path: "care-co-pilot", - element: , -}, -{ - path: "*", - element: , - handle: { noLayout: true }, -} - + path: "care-co-pilot", + element: , + }, + { + path: "*", + element: , + handle: { noLayout: true }, }, ], }, @@ -91,4 +184,5 @@ const router = createBrowserRouter([ element: , }, ]); -export default router; \ No newline at end of file + +export default router; diff --git a/package-lock.json b/package-lock.json index 28de24d..aec79e3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "InfantCareCompass-GSSoc", + "name": "InfantCareCompass-2", "lockfileVersion": 3, "requires": true, "packages": {}