Repository: Learnathon-By-Geeky-Solutions/3-brain-cell
Pull request #23: Merge request of Feature/f-ud-13/coord-dashboard to dev
Author: login: Rifat-2020831030
Created: 2025-03-22T10:43:09Z | Merged: 2025-03-22T13:45:10Z



Diff:
diff --git a/frontend/uddhar-frontend/package-lock.json b/frontend/uddhar-frontend/package-lock.json
index 91771c2..b374576 100644
--- a/frontend/uddhar-frontend/package-lock.json
+++ b/frontend/uddhar-frontend/package-lock.json
@@ -11,6 +11,7 @@
         "@tailwindcss/vite": "^4.0.0",
         "axios": "^1.7.9",
         "framer": "^2.4.1",
+        "lucide-react": "^0.476.0",
         "react": "^18.3.1",
         "react-dom": "^18.3.1",
         "react-icons": "^5.4.0",
@@ -3794,6 +3795,14 @@
         "yallist": "^3.0.2"
       }
     },
+    "node_modules/lucide-react": {
+      "version": "0.476.0",
+      "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.476.0.tgz",
+      "integrity": "sha512-x6cLTk8gahdUPje0hSgLN1/MgiJH+Xl90Xoxy9bkPAsMPOUiyRSKR4JCDPGVCEpyqnZXH3exFWNItcvra9WzUQ==",
+      "peerDependencies": {
+        "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+      }
+    },
     "node_modules/math-intrinsics": {
       "version": "1.1.0",
       "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
diff --git a/frontend/uddhar-frontend/package.json b/frontend/uddhar-frontend/package.json
index 31785fa..6c9bca1 100644
--- a/frontend/uddhar-frontend/package.json
+++ b/frontend/uddhar-frontend/package.json
@@ -13,6 +13,7 @@
     "@tailwindcss/vite": "^4.0.0",
     "axios": "^1.7.9",
     "framer": "^2.4.1",
+    "lucide-react": "^0.476.0",
     "react": "^18.3.1",
     "react-dom": "^18.3.1",
     "react-icons": "^5.4.0",
diff --git a/frontend/uddhar-frontend/src/App.jsx b/frontend/uddhar-frontend/src/App.jsx
index 1797691..71fd4cf 100644
--- a/frontend/uddhar-frontend/src/App.jsx
+++ b/frontend/uddhar-frontend/src/App.jsx
@@ -1,17 +1,40 @@
 import { Route, BrowserRouter as Router, Routes } from "react-router-dom";
 
-import {Navbar, Landing} from "./public/Public";
 import Login from "./authentication/pages/Login";
+import DashboardNavbar from "./shared/components/DashboardNavbar";
+import CoordinatorDashboard from "./coordinator/pages/CoordinatorDashboard";
+import {Navbar, Landing} from "./public/Public";
 import ForgetPass from "./authentication/pages/ForgetPass";
 
 const App = () => {
   return (
     <>
       <Router>
-        <Navbar />
         <Routes>
-          <Route path="/" element={<Landing />} />
-          <Route path="/sign-in" element={<Login />} />
+          <Route
+            path="/"
+            element={
+              <Navbar>
+                <Landing />
+              </Navbar>
+            }
+          />
+          <Route
+            path="/dashboard/coordinator"
+            element={
+              <DashboardNavbar>
+                <CoordinatorDashboard />
+              </DashboardNavbar>
+            }
+          />
+          <Route
+            path="/sign-in"
+            element={
+              <Navbar>
+                <Login />
+              </Navbar>
+            }
+          />
           <Route path="/password-recovery" element={<ForgetPass />} />
         </Routes>
       </Router>
diff --git a/frontend/uddhar-frontend/src/assets/icons/fire.png b/frontend/uddhar-frontend/src/assets/icons/fire.png
new file mode 100644
index 0000000..68a5155
Binary files /dev/null and b/frontend/uddhar-frontend/src/assets/icons/fire.png differ
diff --git a/frontend/uddhar-frontend/src/assets/icons/partly-cloudy.gif b/frontend/uddhar-frontend/src/assets/icons/partly-cloudy.gif
new file mode 100644
index 0000000..79c2b46
Binary files /dev/null and b/frontend/uddhar-frontend/src/assets/icons/partly-cloudy.gif differ
diff --git a/frontend/uddhar-frontend/src/assets/icons/rain-cloud.gif b/frontend/uddhar-frontend/src/assets/icons/rain-cloud.gif
new file mode 100644
index 0000000..6c75de1
Binary files /dev/null and b/frontend/uddhar-frontend/src/assets/icons/rain-cloud.gif differ
diff --git a/frontend/uddhar-frontend/src/assets/icons/rain.gif b/frontend/uddhar-frontend/src/assets/icons/rain.gif
new file mode 100644
index 0000000..617094a
Binary files /dev/null and b/frontend/uddhar-frontend/src/assets/icons/rain.gif differ
diff --git a/frontend/uddhar-frontend/src/assets/icons/search.png b/frontend/uddhar-frontend/src/assets/icons/search.png
new file mode 100644
index 0000000..9075295
Binary files /dev/null and b/frontend/uddhar-frontend/src/assets/icons/search.png differ
diff --git a/frontend/uddhar-frontend/src/assets/icons/setting.png b/frontend/uddhar-frontend/src/assets/icons/setting.png
new file mode 100644
index 0000000..7f21dcb
Binary files /dev/null and b/frontend/uddhar-frontend/src/assets/icons/setting.png differ
diff --git a/frontend/uddhar-frontend/src/assets/icons/storm.gif b/frontend/uddhar-frontend/src/assets/icons/storm.gif
new file mode 100644
index 0000000..0239c9b
Binary files /dev/null and b/frontend/uddhar-frontend/src/assets/icons/storm.gif differ
diff --git a/frontend/uddhar-frontend/src/assets/icons/sun.gif b/frontend/uddhar-frontend/src/assets/icons/sun.gif
new file mode 100644
index 0000000..da6f6d7
Binary files /dev/null and b/frontend/uddhar-frontend/src/assets/icons/sun.gif differ
diff --git a/frontend/uddhar-frontend/src/assets/icons/typhoon.gif b/frontend/uddhar-frontend/src/assets/icons/typhoon.gif
new file mode 100644
index 0000000..540ae9e
Binary files /dev/null and b/frontend/uddhar-frontend/src/assets/icons/typhoon.gif differ
diff --git a/frontend/uddhar-frontend/src/assets/icons/wave.gif b/frontend/uddhar-frontend/src/assets/icons/wave.gif
new file mode 100644
index 0000000..d305a0b
Binary files /dev/null and b/frontend/uddhar-frontend/src/assets/icons/wave.gif differ
diff --git a/frontend/uddhar-frontend/src/coordinator/components/DisasterSummary.jsx b/frontend/uddhar-frontend/src/coordinator/components/DisasterSummary.jsx
new file mode 100644
index 0000000..2d3c9cb
--- /dev/null
+++ b/frontend/uddhar-frontend/src/coordinator/components/DisasterSummary.jsx
@@ -0,0 +1,69 @@
+import typhoon from "../../assets/icons/typhoon.gif";
+
+const disasterUpdates = {
+  earthquake: {
+    title: "Earthquake Update",
+    icon: "earthquake.png",
+    details: [
+      "Magnitude: 6.5, Epicenter: City A",
+      "Affected Population: 1.2M",
+      "Casualties: 150, Injuries: 500",
+      "Structural Damage: Severe",
+      "Volunteers: 2,000",
+    ],
+  },
+  flood: {
+    title: "Flood Update",
+    icon: "flood.png",
+    details: [
+      "Water Level: 3.2m, Severity: High",
+      "Affected Population: 500K",
+      "Rainfall: 120mm in 24h",
+      "Rescue Status: Ongoing",
+      "Volunteers: 1,500",
+    ],
+  },
+  cyclone: {
+    title: "Cyclone Alert",
+    icon: "cyclone.png",
+    details: [
+      "Wind Speed: 180 km/h, Category 4",
+      "Landfall Expected: City B",
+      "Affected Regions: Coastal Areas",
+      "Rainfall & Storm Surge: Severe Warning",
+      "Volunteers: 3,000",
+    ],
+  },
+  fire: {
+    title: "Fire Update",
+    icon: "fire.png",
+    details: [
+      "Location: Forest Zone C",
+      "Severity: Extreme",
+      "Casualties: 10, Injuries: 30",
+      "Evacuations: 5,000 people",
+      "Update: Fire 60% contained",
+    ],
+  },
+};
+
+const DisasterSummary = ({ type }) => {
+  const data = disasterUpdates[type] || null;
+  if (!data) return null;
+
+  return (
+    <div className="bg-red-200 p-4 rounded-xl shadow-md w-72 text-gray-900">
+      <div className="flex items-center gap-3">
+        <img src={typhoon} alt={data.title} className="w-10" />
+        <h2 className="text-lg font-semibold">{data.title}</h2>
+      </div>
+      <ul className="mt-2 text-sm text-gray-800">
+        {data.details.map((detail, index) => (
+          <li key={index} className="mt-1">• {detail}</li>
+        ))}
+      </ul>
+    </div>
+  );
+};
+
+export default DisasterSummary;
diff --git a/frontend/uddhar-frontend/src/coordinator/components/EmergencyMsg.jsx b/frontend/uddhar-frontend/src/coordinator/components/EmergencyMsg.jsx
new file mode 100644
index 0000000..a86e623
--- /dev/null
+++ b/frontend/uddhar-frontend/src/coordinator/components/EmergencyMsg.jsx
@@ -0,0 +1,24 @@
+const EmergencyMsg = () => {
+  return (
+    <>
+      <form action="">
+        <div className="flex flex-col">
+          <label htmlFor="message">Send Emergency Message</label>
+          <textarea
+            name="message"
+            id="message"
+            cols="30"
+            rows="5"
+            className="border-2 border-black p-[5px] rounded-md mt-5"
+          ></textarea>
+        </div>
+        <div className="flex justify-center">
+          <button className="bg-amber-300 text-black px-5 py-2 rounded-md my-2 hover:bg-amber-400">
+            Send
+          </button>
+        </div>
+      </form>
+    </>
+  );
+};
+export default EmergencyMsg;
diff --git a/frontend/uddhar-frontend/src/coordinator/components/Update.jsx b/frontend/uddhar-frontend/src/coordinator/components/Update.jsx
new file mode 100644
index 0000000..30627da
--- /dev/null
+++ b/frontend/uddhar-frontend/src/coordinator/components/Update.jsx
@@ -0,0 +1,56 @@
+const Update = () => {
+  return (
+    <>
+      <p className="text-2xl text-center mt-3">Live Update</p>
+
+      <div
+        id="toast-simple"
+        className="flex items-center w-full max-w-xs p-4 mt-3 space-x-4 rtl:space-x-reverse rounded-lg shadow-sm"
+        role="alert"
+      >
+        <svg
+          className="w-5 h-5 text-blue-600 dark:text-blue-500 rotate-45"
+          aria-hidden="true"
+          xmlns="http://www.w3.org/2000/svg"
+          fill="none"
+          viewBox="0 0 18 20"
+        >
+          <path
+            stroke="currentColor"
+            strokeLinecap="round"
+            strokeLinejoin="round"
+            strokeWidth="2"
+            d="m9 17 8 2L9 1 1 19l8-2Zm0 0V9"
+          />
+        </svg>
+        <div className="ps-4 text-sm font-normal">
+          Message sent successfully.
+        </div>
+        <button
+          type="button"
+          className="ms-auto -mx-1.5 -my-1.5 bg-white text-gray-800 hover:text-gray-900 rounded-lg p-1.5 hover:bg-gray-300 inline-flex items-center justify-center h-8 w-8 "
+          data-dismiss-target="#toast-success"
+          aria-label="Close"
+        >
+          <span className="sr-only">Close</span>
+          <svg
+            className="w-3 h-3"
+            aria-hidden="true"
+            xmlns="http://www.w3.org/2000/svg"
+            fill="none"
+            viewBox="0 0 14 14"
+          >
+            <path
+              stroke="currentColor"
+              strokeLinecap="round"
+              strokeLinejoin="round"
+              strokeWidth="2"
+              d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"
+            />
+          </svg>
+        </button>
+      </div>
+    </>
+  );
+};
+export default Update;
diff --git a/frontend/uddhar-frontend/src/coordinator/components/UserTable.jsx b/frontend/uddhar-frontend/src/coordinator/components/UserTable.jsx
new file mode 100644
index 0000000..87d4d71
--- /dev/null
+++ b/frontend/uddhar-frontend/src/coordinator/components/UserTable.jsx
@@ -0,0 +1,81 @@
+import { useState } from "react";
+
+import { organizationData } from "../data/Data";
+
+const statusOptions = [
+  { label: "Approve", color: "bg-green-200 text-green-800" },
+  { label: "Cancel", color: "bg-red-200 text-red-800" },
+];
+
+const UserTable = () => {
+  const [status, setStatus] = useState(
+    organizationData.map((user) => user.status)
+  );
+
+  const handleStatusChange = (index, newStatus) => {
+    setStatus((prev) =>
+      prev.map((status, i) => (i === index ? newStatus : status))
+    );
+  };
+
+  return (
+    <>
+      <div className="flex flex-col w-full">
+        <h1 className="p-4 text-2xl text-gray-800 font-semibold">Organization Registration Request</h1>
+        <div className="overflow-x-auto p-4 w-full">
+          <table className="min-w-full border-[0.1px] border-gray-300 rounded-lg">
+            <thead>
+              <tr className="bg-gray-100">
+                <th className="p-3 text-left">Organization Name</th>
+                <th className="p-3 text-left">Location</th>
+                <th className="p-3 text-left">Team Member</th>
+                <th className="p-3 text-center">Status</th>
+                <th>Approval</th>
+              </tr>
+            </thead>
+            <tbody>
+              {organizationData.map((user, index) => (
+                <tr key={index} className="border-b-1 border-gray-300">
+                  <td className="p-3">
+                    <div className="font-semibold">{user.name}</div>
+                    <div className="text-sm text-gray-500">{user.role}</div>
+                  </td>
+                  <td className="p-3">{user.location}</td>
+                  <td className="p-3 flex -space-x-2 overflow-hidden">
+                    {[...Array(user.team)].map((_, i) => (
+                      <img
+                        key={i}
+                        className="inline-block h-8 w-8 rounded-full ring-2 ring-white"
+                        src={`https://i.pravatar.cc/40?img=${i + index}`}
+                        alt="Team Member"
+                      />
+                    ))}
+                  </td>
+                  <td className="p-3">
+                    <p
+                      className={`${
+                        user.status === "Active" ? "text-green-500" : "text-red-500"
+                      } px-2 py-1 text-center`}
+                    >
+                      {user.status}
+                    </p>
+                  </td>
+                  <td>
+                    <button className="border-2 rounded-[5px] bg-green-200 p-1 cursor-pointer text-green-500 mr-1">
+                      ✔️
+                    </button>
+                    <button className="border-2 rounded-[5px] bg-red-200 p-1 cursor-pointer text-red-500">
+                      ❌
+                    </button>
+                  </td>
+                </tr>
+              ))}
+            </tbody>
+          </table>
+        </div>
+      </div>
+    </>
+  );
+};
+
+export default UserTable;
diff --git a/frontend/uddhar-frontend/src/coordinator/components/WeatherCard.jsx b/frontend/uddhar-frontend/src/coordinator/components/WeatherCard.jsx
new file mode 100644
index 0000000..2b20c77
--- /dev/null
+++ b/frontend/uddhar-frontend/src/coordinator/components/WeatherCard.jsx
@@ -0,0 +1,52 @@
+import rain from "../../assets/icons/rain.gif";
+
+const weatherData = {
+    currentTemp: 3.5,
+    humidity: 95,
+    pressure: 979.3,
+    windSpeed: 28.8,
+    sunrise: "8:41:58 AM",
+    sunset: "4:57:41 PM",
+    forecast: [
+      { day: "TUE", max: 4.2, min: -1.6, icon: "", rain: 0.4 },
+      { day: "WED", max: 4.2, min: -2, icon: "cloud.png", rain: 0.8 },
+      { day: "THU", max: 5, min: 1.3, icon: "partly-cloudy.png", rain: 7.2 },
+      { day: "FRI", max: 1.5, min: -2.5, icon: "sunny.png", rain: 0.7 },
+      { day: "SAT", max: -0.4, min: -4.6, icon: "cloudy.png", rain: 0.0 },
+    ],
+};
+
+const WeatherCard = () => {
+    return (
+      <div className="bg-blue-200 bg-opacity-50 p-6 rounded-xl shadow-md w-115 h-80 text-gray-900">
+        <div className="flex justify-between items-center">
+          <div className="flex items-center gap-3">
+            <img src={rain} alt="weather" className="w-10" />
+            <h2 className="text-xl font-semibold">Forecast</h2>
+          </div>
+          <span className="text-3xl font-bold">{weatherData.currentTemp}°C</span>
+        </div>
+        <div className="text-sm text-gray-800 mt-2">
+          <p>Humidity: {weatherData.humidity}%</p>
+          <p>Pressure: {weatherData.pressure} hPa</p>
+          <p>Wind: {weatherData.windSpeed} km/h</p>
+        </div>
+        <div className="mt-4 grid grid-cols-5 gap-2">
+          {weatherData.forecast.map((day, index) => (
+            <div
+              key={index}
+              className="flex flex-col items-center bg-blue-300 bg-opacity-50 p-2 rounded-lg shadow"
+            >
+              <span className="font-semibold">{day.day}</span>
+              <img src={`/icons/${day.type}`} alt={day.day} className="w-8 h-8" />
+              <span className="text-sm">{day.max}°C</span>
+              <span className="text-xs text-gray-700">{day.min}°C</span>
+              <span className="text-xs">🌧 {day.rain} mm</span>
+            </div>
+          ))}
+        </div>
+      </div>
+    );
+  };
+  
+  export default WeatherCard;
\ No newline at end of file
diff --git a/frontend/uddhar-frontend/src/coordinator/data/Data.jsx b/frontend/uddhar-frontend/src/coordinator/data/Data.jsx
new file mode 100644
index 0000000..7c9101f
--- /dev/null
+++ b/frontend/uddhar-frontend/src/coordinator/data/Data.jsx
@@ -0,0 +1,44 @@
+export const tableHeader = [
+  { id: "id", label: "ID" },
+  { id: "name", label: "Product name" },
+  { id: "color", label: "Color" },
+  { id: "category", label: "Category" },
+];
+
+export const organizationData = [
+  {
+    name: "Lindsey Curtis",
+    role: "Web Designer",
+    location: "Chittagong",
+    team: 3,
+    status: "Active",
+  },
+  {
+    name: "Kaiya George",
+    role: "locaton Manager",
+    location: "Chittagong",
+    team: 2,
+    status: "Pending",
+  },
+  {
+    name: "Zain Geidt",
+    role: "Content Writing",
+    location: "Chittagong",
+    team: 1,
+    status: "Active",
+  },
+  {
+    name: "Abram Schleifer",
+    role: "Digital Marketer",
+    location: "Chittagong",
+    team: 4,
+    status: "Cancel",
+  },
+  {
+    name: "Carla George",
+    role: "Front-end Developer",
+    location: "Chittagong",
+    team: 3,
+    status: "Active",
+  },
+];
diff --git a/frontend/uddhar-frontend/src/coordinator/pages/CoordinatorDashboard.jsx b/frontend/uddhar-frontend/src/coordinator/pages/CoordinatorDashboard.jsx
index cbb722f..70e6c4f 100644
--- a/frontend/uddhar-frontend/src/coordinator/pages/CoordinatorDashboard.jsx
+++ b/frontend/uddhar-frontend/src/coordinator/pages/CoordinatorDashboard.jsx
@@ -1,4 +1,16 @@
+import LeftPanel from "./sub-page/LeftPanel";
+import RightPanel from "./sub-page/RightPanel";
+import CenterPanel from "./sub-page/CenterPanel";
+
 const CoordinatorDashboard = () => {
-  return <> CoordinatorDashboard</>;
+  return (
+    <>
+      <div className="flex justify-between">
+        <LeftPanel />
+        <CenterPanel />
+        <RightPanel />
+      </div>
+    </>
+  );
 };
 export default CoordinatorDashboard;
diff --git a/frontend/uddhar-frontend/src/coordinator/pages/sub-page/CenterPanel.jsx b/frontend/uddhar-frontend/src/coordinator/pages/sub-page/CenterPanel.jsx
new file mode 100644
index 0000000..cdaed84
--- /dev/null
+++ b/frontend/uddhar-frontend/src/coordinator/pages/sub-page/CenterPanel.jsx
@@ -0,0 +1,18 @@
+import UserTable from "../../components/UserTable";
+import WeatherCard from "../../components/WeatherCard";
+import DisasterSummary from "../../components/DisasterSummary";
+
+const CenterPanel = () => {
+  return (
+    <>
+      <div className="flex flex-col my-5">
+        <div className="flex gap-[10px]">
+          <WeatherCard />
+          <DisasterSummary type="flood" />
+        </div>
+        <UserTable />
+      </div>
+    </>
+  );
+};
+export default CenterPanel;
diff --git a/frontend/uddhar-frontend/src/coordinator/pages/sub-page/LeftPanel.jsx b/frontend/uddhar-frontend/src/coordinator/pages/sub-page/LeftPanel.jsx
new file mode 100644
index 0000000..3fc8b4f
--- /dev/null
+++ b/frontend/uddhar-frontend/src/coordinator/pages/sub-page/LeftPanel.jsx
@@ -0,0 +1,56 @@
+import { useState } from "react";
+import search from "../../../assets/icons/search.png";
+import setting from "../../../assets/icons/setting.png";
+
+const Sidebar = () => {
+  const [active, setActive] = useState("Home");
+  
+  const menuItems = [
+    { name: "Home", icon: setting },
+    { name: "Disaster Control", icon: setting },
+    { name: "Analytics", icon: setting },
+    { name: "Resources", icon: setting, badge: "14 Events" },
+    { name: "Communication", icon: setting },
+    { name: "Emergency", icon: setting },
+  ];
+
+  return (
+    <div className="w-70 h-screen bg-white shadow-lg p-4 flex flex-col my-5">
+      <div className="relative mt-4 mb-4">
+        <img className="absolute left-3 top-2.5 text-gray-400 w-5 h-5" src={search} />
+        <input
+          type="text"
+          placeholder="Search"
+          className="w-full pl-10 pr-2 py-2 bg-gray-100 rounded-md focus:outline-none"
+        />
+      </div>
+      <nav className="flex-1">
+        {menuItems.map((item) => (
+          <button
+            key={item.name}
+            onClick={() => setActive(item.name)}
+            className={`w-full flex items-center justify-between px-4 py-3 rounded-md text-left transition ${
+              active === item.name ? "bg-amber-300 text-white" : "text-gray-700 hover:bg-gray-100"
+            }`}
+          >
+            <div className="flex items-center space-x-3">
+              <img src={item.icon} alt="setting icon" className="w-4 h-4" />
+              <span>{item.name}</span>
+            </div>
+            {/* {item.badge && <Badge className="bg-blue-500 text-white text-xs">{item.badge}</Badge>} */}
+          </button>
+        ))}
+      </nav>
+      <div className="border-t pt-4">
+        <button className="w-full flex items-center space-x-3 px-4 py-3 text-gray-700 hover:bg-gray-100 rounded-md">
+          <span>Support</span>
+        </button>
+        <button className="w-full flex items-center space-x-3 px-4 py-3 text-gray-700 hover:bg-gray-100 rounded-md">
+          <span>Sign Out</span>
+        </button>
+      </div>
+    </div>
+  );
+};
+
+export default Sidebar;
diff --git a/frontend/uddhar-frontend/src/coordinator/pages/sub-page/RightPanel.jsx b/frontend/uddhar-frontend/src/coordinator/pages/sub-page/RightPanel.jsx
new file mode 100644
index 0000000..94c5a43
--- /dev/null
+++ b/frontend/uddhar-frontend/src/coordinator/pages/sub-page/RightPanel.jsx
@@ -0,0 +1,14 @@
+import EmergencyMsg from "../../components/EmergencyMsg";
+import Update from "../../components/Update";
+
+const RightPanel = () => {
+  return (
+    <>
+      <div className="bg-gray-100 w-85 min-w-60 px-10 py-5 h-screen border-gray-300 border-1 rounded-l-2xl shadow-2xl">
+        <EmergencyMsg />
+        <Update />
+      </div>
+    </>
+  );
+};
+export default RightPanel;
diff --git a/frontend/uddhar-frontend/src/public/Public.jsx b/frontend/uddhar-frontend/src/public/Public.jsx
index 0252b9a..7629cd1 100644
--- a/frontend/uddhar-frontend/src/public/Public.jsx
+++ b/frontend/uddhar-frontend/src/public/Public.jsx
@@ -1,5 +1,4 @@
 import HeroSection from "./components/HeroSection";
-import Navbar from "./components/Navbar";
 import PastDisaster from "./components/PastDisaster";
 import Landing from "./pages/Landing";
 import MapSection from "./components/MapSection";
@@ -8,4 +7,4 @@ import LogoScroll from "./components/LogoScroll";
 import VOM from "./components/VOM";
 import Footer from "./components/Footer";
 
-export { HeroSection, Landing, Navbar, PastDisaster, MapSection, CountUp, LogoScroll, VOM, Footer };
+export { HeroSection, Landing, PastDisaster, MapSection, CountUp, LogoScroll, VOM, Footer };
diff --git a/frontend/uddhar-frontend/src/public/data/Data.jsx b/frontend/uddhar-frontend/src/public/data/Data.jsx
index 7a0e09a..8690849 100644
--- a/frontend/uddhar-frontend/src/public/data/Data.jsx
+++ b/frontend/uddhar-frontend/src/public/data/Data.jsx
@@ -1,22 +1,3 @@
-export const navLinks = [
-    {
-        name: "Home",
-        path: "/"
-    },
-    {
-        name: "Disaster",
-        path: "/disaster"
-    },
-    {
-        name: "Survival Skill",
-        path: "/survival-skill"
-    },
-    {
-        name: "Sign In",
-        path: "/sign-in"
-    }
-];
-
 // For Hero.jsx
 export const texts = [
     {
diff --git a/frontend/uddhar-frontend/src/shared/components/DashboardNavbar.jsx b/frontend/uddhar-frontend/src/shared/components/DashboardNavbar.jsx
new file mode 100644
index 0000000..0a43bf8
--- /dev/null
+++ b/frontend/uddhar-frontend/src/shared/components/DashboardNavbar.jsx
@@ -0,0 +1,46 @@
+import { Bell, Moon, Search } from "lucide-react";
+import { useState } from "react";
+
+const DashboardNavbar = ({ children }) => {
+  const [userMenuOpen, setUserMenuOpen] = useState(false);
+
+  return (
+    <>
+      <nav className="flex items-center justify-between px-10 py-2 bg-amber-200 shadow-md">
+        {/* Search Bar */}
+        <div className="relative flex items-center w-80 border rounded-lg px-3 py-2 bg-gray-100">
+          <Search className="w-5 h-5 text-gray-400" />
+          <input
+            type="text"
+            placeholder="Search"
+            className="ml-2 w-full bg-transparent outline-none text-gray-600"
+          />
+        </div>
+
+        {/* Icons and Profile */}
+        <div className="flex items-center space-x-7">
+          <Moon className="w-6 h-6 text-black cursor-pointer border rounded-full" />
+          <Bell className="w-6 h-6 text-black cursor-pointer" />
+          <div className="relative">
+            <img
+              src="https://i.pravatar.cc/40?img=4"
+              alt="User"
+              className="w-10 h-10 rounded-full cursor-pointer"
+              onClick={() => setUserMenuOpen(!userMenuOpen)}
+            />
+            {userMenuOpen && (
+              <div className="absolute right-0 mt-2 w-40 bg-white border rounded-lg cursor-pointer">
+                <p className="p-2 text-gray-700 hover:bg-blue-200">Profile</p>
+                <p className="p-2 text-gray-700 hover:bg-blue-200">Settings</p>
+                <p className="p-2 text-gray-700 hover:bg-blue-200">Logout</p>
+              </div>
+            )}
+          </div>
+        </div>
+      </nav>
+      <div onClick={() => setUserMenuOpen(false)}>{children}</div>
+    </>
+  );
+};
+
+export default DashboardNavbar;
diff --git a/frontend/uddhar-frontend/src/public/components/Navbar.jsx b/frontend/uddhar-frontend/src/shared/components/Navbar.jsx
similarity index 97%
rename from frontend/uddhar-frontend/src/public/components/Navbar.jsx
rename to frontend/uddhar-frontend/src/shared/components/Navbar.jsx
index 746c93f..3a622c3 100644
--- a/frontend/uddhar-frontend/src/public/components/Navbar.jsx
+++ b/frontend/uddhar-frontend/src/shared/components/Navbar.jsx
@@ -10,7 +10,7 @@ import logo from "../../assets/uddhar.png";
 
 import { navLinks } from "../data/Data";
 
-const Navbar = () => {
+const Navbar = ({children}) => {
   const [showMenu, setShowMenu] = useState(false);
   return (
     <>
@@ -60,6 +60,7 @@ const Navbar = () => {
           </nav>
         </div>
       </div>
+      {children}
     </>
   );
 };
diff --git a/frontend/uddhar-frontend/src/shared/data/Data.jsx b/frontend/uddhar-frontend/src/shared/data/Data.jsx
new file mode 100644
index 0000000..fa89cb5
--- /dev/null
+++ b/frontend/uddhar-frontend/src/shared/data/Data.jsx
@@ -0,0 +1,22 @@
+export const navLinks = [
+    {
+        name: "Home",
+        path: "/"
+    },
+    {
+        name: "Disaster",
+        path: "/disaster"
+    },
+    {
+        name: "Survival Skill",
+        path: "/survival-skill"
+    },
+    {
+        name: "Sign In",
+        path: "/sign-in"
+    },
+    {
+      name: "Sign Up",
+      path: "/sign-up"
+    }
+];
\ No newline at end of file


Reviews:
user: login: coderabbitai[bot]
body: > [!CAUTION]
> Inline review comments failed to post. This is likely due to GitHub's limits when posting large numbers of comments.  If you are seeing this consistently it is likely a permissions issue. Please check "Moderation" -> "Code review limits" under your organization settings.

**Actionable comments posted: 40**

<details>
<summary>🛑 Comments failed to post (40)</summary><blockquote>

<details>
<summary>frontend/uddhar-frontend/src/shared/data/Data.jsx (1)</summary><blockquote>

19-20: _🧹 Nitpick (assertive)_

**INDENTATION INCONSISTENCY DETECTED.**

SIGN-UP OBJECT USES 2-SPACE INDENTATION WHILE OTHER OBJECTS USE 4-SPACE INDENTATION. RECOMMEND STANDARDIZING INDENTATION FOR OPTIMAL CODE READABILITY.

```diff
-      name: "Sign Up",
-      path: "/sign-up"
+    name: "Sign Up",
+    path: "/sign-up"
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
    name: "Sign Up",
    path: "/sign-up"
`````

</details>

<!-- suggestion_end -->

</blockquote></details>
<details>
<summary>frontend/uddhar-frontend/src/coordinator/components/EmergencyMsg.jsx (3)</summary><blockquote>

4-20: _🛠️ Refactor suggestion_

**FORM COMPONENT REQUIRES CRITICAL ENHANCEMENTS.**

FORM IMPLEMENTATION LACKS ESSENTIAL FUNCTIONALITY:
1. NO FORM SUBMISSION HANDLER (onSubmit)
2. EMPTY action ATTRIBUTE
3. NO STATE MANAGEMENT FOR TEXTAREA
4. NO FORM VALIDATION LOGIC

EMERGENCY COMMUNICATIONS REQUIRE ROBUST ERROR HANDLING AND VALIDATION.

```diff
-      <form action="">
+      <form onSubmit={(e) => {
+        e.preventDefault();
+        // IMPLEMENT MESSAGE SUBMISSION LOGIC HERE
+      }}>
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
      <form onSubmit={(e) => {
        e.preventDefault();
        // IMPLEMENT MESSAGE SUBMISSION LOGIC HERE
      }}>
        <div className="flex flex-col">
          <label htmlFor="message">Send Emergency Message</label>
          <textarea
            name="message"
            id="message"
            cols="30"
            rows="5"
            className="border-2 border-black p-[5px] rounded-md mt-5"
          ></textarea>
        </div>
        <div className="flex justify-center">
          <button className="bg-amber-300 text-black px-5 py-2 rounded-md my-2 hover:bg-amber-400">
            Send
          </button>
        </div>
      </form>
`````

</details>

<!-- suggestion_end -->

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 Biome (1.9.4)</summary>

[error] 7-13: JSX elements without children should be marked as self-closing. In JSX, it is valid for any element to be self-closing.

Unsafe fix: Use a SelfClosingElement instead


(lint/style/useSelfClosingElements)

---

[error] 16-16: Provide an explicit type prop for the button element.

The default type of a button is submit, which causes the submission of a form when placed inside a `form` element. This is likely not the behaviour that you want inside a React application.
Allowed button types are: submit, button or reset

(lint/a11y/useButtonType)

</details>

</details>

---

16-18: _⚠️ Potential issue_

**BUTTON ELEMENT MISSING EXPLICIT TYPE ATTRIBUTE.**

ACCESSIBILITY ERROR DETECTED: BUTTON WITHIN FORM REQUIRES EXPLICIT type ATTRIBUTE. DEFAULT type="submit" BEHAVIOR MAY CAUSE UNEXPECTED FORM SUBMISSIONS.

```diff
-          <button className="bg-amber-300 text-black px-5 py-2 rounded-md my-2 hover:bg-amber-400">
+          <button type="submit" className="bg-amber-300 text-black px-5 py-2 rounded-md my-2 hover:bg-amber-400">
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
          <button type="submit" className="bg-amber-300 text-black px-5 py-2 rounded-md my-2 hover:bg-amber-400">
            Send
          </button>
`````

</details>

<!-- suggestion_end -->

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 Biome (1.9.4)</summary>

[error] 16-16: Provide an explicit type prop for the button element.

The default type of a button is submit, which causes the submission of a form when placed inside a `form` element. This is likely not the behaviour that you want inside a React application.
Allowed button types are: submit, button or reset

(lint/a11y/useButtonType)

</details>

</details>

---

7-13: _🛠️ Refactor suggestion_

**TEXTAREA ELEMENT REQUIRES SELF-CLOSING TAG OPTIMIZATION.**

STATIC ANALYSIS IDENTIFIES NON-COMPLIANT JSX SYNTAX. ELEMENT WITHOUT CHILDREN SHOULD USE SELF-CLOSING SYNTAX. ADDITIONALLY, RECOMMEND ADDING STATE MANAGEMENT.

```diff
-          <textarea
-            name="message"
-            id="message"
-            cols="30"
-            rows="5"
-            className="border-2 border-black p-[5px] rounded-md mt-5"
-          ></textarea>
+          <textarea
+            name="message"
+            id="message"
+            cols="30"
+            rows="5"
+            className="border-2 border-black p-[5px] rounded-md mt-5"
+            value={message}
+            onChange={(e) => setMessage(e.target.value)}
+          />
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
          <textarea
            name="message"
            id="message"
            cols="30"
            rows="5"
            className="border-2 border-black p-[5px] rounded-md mt-5"
            value={message}
            onChange={(e) => setMessage(e.target.value)}
          />
`````

</details>

<!-- suggestion_end -->

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 Biome (1.9.4)</summary>

[error] 7-13: JSX elements without children should be marked as self-closing. In JSX, it is valid for any element to be self-closing.

Unsafe fix: Use a SelfClosingElement instead


(lint/style/useSelfClosingElements)

</details>

</details>

</blockquote></details>
<details>
<summary>frontend/uddhar-frontend/src/coordinator/pages/sub-page/RightPanel.jsx (2)</summary><blockquote>

8-9: _🧹 Nitpick (assertive)_

**COMPONENTS INTEGRATION PROPERLY IMPLEMENTED.**

COMPONENT STRUCTURE LOGICAL: EMERGENCY MESSAGE FORM PAIRED WITH UPDATES DISPLAY. RECOMMEND ADDING COMMUNICATION MECHANISM BETWEEN COMPONENTS FOR REAL-TIME FEEDBACK.


Consider implementing state management (Context API or prop drilling) to allow EmergencyMsg to trigger updates in the Update component when messages are sent.

---

7-7: _🛠️ Refactor suggestion_

**CSS CLASS ERROR DETECTED IN CONTAINER ELEMENT.**

TAILWIND CLASS 'border-1' IS INVALID. TAILWIND USES 'border' OR 'border-[1px]' FOR BORDER WIDTH SPECIFICATION. ALSO, 'h-screen' MAY CAUSE OVERFLOW ISSUES WITH COMPONENT CONTENT.

```diff
-      <div className="bg-gray-100 w-85 min-w-60 px-10 py-5 h-screen border-gray-300 border-1 rounded-l-2xl shadow-2xl">
+      <div className="bg-gray-100 w-85 min-w-60 px-10 py-5 h-screen overflow-auto border-gray-300 border rounded-l-2xl shadow-2xl">
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
      <div className="bg-gray-100 w-85 min-w-60 px-10 py-5 h-screen overflow-auto border-gray-300 border rounded-l-2xl shadow-2xl">
`````

</details>

<!-- suggestion_end -->

</blockquote></details>
<details>
<summary>frontend/uddhar-frontend/src/coordinator/data/Data.jsx (2)</summary><blockquote>

1-6: _⚠️ Potential issue_

**DATA STRUCTURE INCONSISTENCY DETECTED.**

TABLE HEADER OBJECTS CONTAIN COLUMN DEFINITIONS FOR PRODUCT-RELATED DATA (ID, PRODUCT NAME, COLOR, CATEGORY) WHICH DO NOT CORRESPOND TO ORGANIZATION DATA FIELDS (NAME, ROLE, LOCATION, TEAM, STATUS).

RECOMMENDATION: ALIGN TABLE HEADERS WITH ACTUAL DATA STRUCTURE TO ENSURE PROPER DATA RENDERING.

```diff
-export const tableHeader = [
-  { id: "id", label: "ID" },
-  { id: "name", label: "Product name" },
-  { id: "color", label: "Color" },
-  { id: "category", label: "Category" },
-];
+export const tableHeader = [
+  { id: "name", label: "Name" },
+  { id: "role", label: "Role" },
+  { id: "location", label: "Location" },
+  { id: "team", label: "Team" },
+  { id: "status", label: "Status" },
+];
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
export const tableHeader = [
  { id: "name", label: "Name" },
  { id: "role", label: "Role" },
  { id: "location", label: "Location" },
  { id: "team", label: "Team" },
  { id: "status", label: "Status" },
];
`````

</details>

<!-- suggestion_end -->

---

8-44: _🛠️ Refactor suggestion_

**SYNTAX ERROR DETECTED IN DATA ENTRY.**

TYPOGRAPHICAL ERROR LOCATED IN OBJECT AT INDEX 1, PROPERTY "ROLE": "locaton Manager" SHOULD BE "Location Manager".

ADDITIONAL RECOMMENDATION: CONSIDER MOVING MOCK DATA TO API SERVICE IN FUTURE ITERATIONS. HARDCODED DATA STRUCTURES ARE SUBOPTIMAL FOR PRODUCTION ENVIRONMENTS.

```diff
-    role: "locaton Manager",
+    role: "Location Manager",
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
export const organizationData = [
  {
    name: "Lindsey Curtis",
    role: "Web Designer",
    location: "Chittagong",
    team: 3,
    status: "Active",
  },
  {
    name: "Kaiya George",
    role: "Location Manager",
    location: "Chittagong",
    team: 2,
    status: "Pending",
  },
  {
    name: "Zain Geidt",
    role: "Content Writing",
    location: "Chittagong",
    team: 1,
    status: "Active",
  },
  {
    name: "Abram Schleifer",
    role: "Digital Marketer",
    location: "Chittagong",
    team: 4,
    status: "Cancel",
  },
  {
    name: "Carla George",
    role: "Front-end Developer",
    location: "Chittagong",
    team: 3,
    status: "Active",
  },
];
`````

</details>

<!-- suggestion_end -->

</blockquote></details>
<details>
<summary>frontend/uddhar-frontend/package.json (1)</summary><blockquote>

16-19: _🧹 Nitpick (assertive)_

**REDUNDANT ICON LIBRARIES DETECTED.**

ANALYSIS: TWO SEPARATE ICON LIBRARIES INSTALLED (LUCIDE-REACT AND REACT-ICONS). THIS CREATES UNNECESSARY BUNDLE SIZE INCREASE AND POTENTIAL INCONSISTENT UI PATTERNS.

RECOMMENDATION: STANDARDIZE ON SINGLE ICON LIBRARY TO MAINTAIN VISUAL CONSISTENCY AND OPTIMIZE BUNDLE SIZE.

```diff
- "lucide-react": "^0.476.0",
  "react": "^18.3.1",
  "react-dom": "^18.3.1",
  "react-icons": "^5.4.0",
```
OR
```diff
  "lucide-react": "^0.476.0",
  "react": "^18.3.1",
  "react-dom": "^18.3.1",
- "react-icons": "^5.4.0",
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
    "lucide-react": "^0.476.0",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
`````

</details>

<!-- suggestion_end -->

</blockquote></details>
<details>
<summary>frontend/uddhar-frontend/src/shared/components/DashboardNavbar.jsx (4)</summary><blockquote>

22-23: _🧹 Nitpick (assertive)_

**THEME TOGGLE FUNCTIONALITY MISSING.**

MOON ICON APPEARS TO BE THEME TOGGLE BUT LACKS IMPLEMENTATION.


```diff
- <Moon className="w-6 h-6 text-black cursor-pointer border rounded-full" />
+ <Moon 
+   className="w-6 h-6 text-black cursor-pointer border rounded-full" 
+   onClick={() => console.log('Toggle theme')}
+   onKeyDown={(e) => e.key === 'Enter' && console.log('Toggle theme')}
+   tabIndex={0}
+ />
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
          <Moon 
            className="w-6 h-6 text-black cursor-pointer border rounded-full" 
            onClick={() => console.log('Toggle theme')}
            onKeyDown={(e) => e.key === 'Enter' && console.log('Toggle theme')}
            tabIndex={0}
          />
          <Bell className="w-6 h-6 text-black cursor-pointer" />
`````

</details>

<!-- suggestion_end -->

---

41-41: _🛠️ Refactor suggestion_

**KEYBOARD ACCESSIBILITY ISSUE DETECTED.**

ELEMENT WITH CLICK EVENT REQUIRES KEYBOARD EVENT HANDLER.


```diff
- <div onClick={() => setUserMenuOpen(false)}>{children}</div>
+ <div 
+   onClick={() => setUserMenuOpen(false)} 
+   onKeyDown={(e) => e.key === 'Escape' && setUserMenuOpen(false)}
+ >
+   {children}
+ </div>
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
      <div 
        onClick={() => setUserMenuOpen(false)} 
        onKeyDown={(e) => e.key === 'Escape' && setUserMenuOpen(false)}
      >
        {children}
      </div>
`````

</details>

<!-- suggestion_end -->

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 Biome (1.9.4)</summary>

[error] 41-41: Enforce to have the onClick mouse event with the onKeyUp, the onKeyDown, or the onKeyPress keyboard event.

Actions triggered using mouse events should have corresponding keyboard events to account for keyboard-only navigation.

(lint/a11y/useKeyWithClickEvents)

</details>

</details>

---

25-30: _🛠️ Refactor suggestion_

**ATTENTION: KEYBOARD ACCESSIBILITY MISSING.**

USER INTERFACE ELEMENT DETECTED WITH MOUSE-ONLY INTERACTION. ACCESSIBILITY STANDARDS REQUIRE KEYBOARD NAVIGATION SUPPORT.


```diff
<img
  src="https://i.pravatar.cc/40?img=4"
  alt="User"
  className="w-10 h-10 rounded-full cursor-pointer"
  onClick={() => setUserMenuOpen(!userMenuOpen)}
+ onKeyDown={(e) => e.key === 'Enter' && setUserMenuOpen(!userMenuOpen)}
+ tabIndex={0}
/>
```

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 Biome (1.9.4)</summary>

[error] 25-30: Enforce to have the onClick mouse event with the onKeyUp, the onKeyDown, or the onKeyPress keyboard event.

Actions triggered using mouse events should have corresponding keyboard events to account for keyboard-only navigation.

(lint/a11y/useKeyWithClickEvents)

</details>

</details>

---

32-37: _🧹 Nitpick (assertive)_

**DROPDOWN MENU NEEDS ENHANCEMENT.**

MENU ITEMS REQUIRE FUNCTIONALITY IMPLEMENTATION. CURRENT STATE: NON-FUNCTIONAL PLACEHOLDERS.


```diff
<div className="absolute right-0 mt-2 w-40 bg-white border rounded-lg cursor-pointer">
-  <p className="p-2 text-gray-700 hover:bg-blue-200">Profile</p>
-  <p className="p-2 text-gray-700 hover:bg-blue-200">Settings</p>
-  <p className="p-2 text-gray-700 hover:bg-blue-200">Logout</p>
+  <button 
+    className="w-full text-left p-2 text-gray-700 hover:bg-blue-200"
+    onClick={() => console.log('Navigate to profile')}
+  >
+    Profile
+  </button>
+  <button 
+    className="w-full text-left p-2 text-gray-700 hover:bg-blue-200"
+    onClick={() => console.log('Navigate to settings')}
+  >
+    Settings
+  </button>
+  <button 
+    className="w-full text-left p-2 text-gray-700 hover:bg-blue-200"
+    onClick={() => console.log('Handle logout')}
+  >
+    Logout
+  </button>
</div>
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
              <div className="absolute right-0 mt-2 w-40 bg-white border rounded-lg cursor-pointer">
                <button 
                  className="w-full text-left p-2 text-gray-700 hover:bg-blue-200"
                  onClick={() => console.log('Navigate to profile')}
                >
                  Profile
                </button>
                <button 
                  className="w-full text-left p-2 text-gray-700 hover:bg-blue-200"
                  onClick={() => console.log('Navigate to settings')}
                >
                  Settings
                </button>
                <button 
                  className="w-full text-left p-2 text-gray-700 hover:bg-blue-200"
                  onClick={() => console.log('Handle logout')}
                >
                  Logout
                </button>
              </div>
            )}
`````

</details>

<!-- suggestion_end -->

</blockquote></details>
<details>
<summary>frontend/uddhar-frontend/src/coordinator/components/UserTable.jsx (3)</summary><blockquote>

15-19: _🧹 Nitpick (assertive)_

**UNUSED FUNCTION DETECTED: OPTIMIZE RESOURCES.**

FUNCTION `handleStatusChange` DEFINED BUT NOT UTILIZED IN COMPONENT. RECOMMENDATION: IMPLEMENT OR REMOVE.

---

64-69: _🛠️ Refactor suggestion_

**BUTTON TYPE ATTRIBUTE MISSING AND NO FUNCTIONALITY IMPLEMENTED.**

APPROVAL BUTTONS LACK TYPE ATTRIBUTE AND ONCLICK HANDLERS. ENHANCE USER EXPERIENCE BY IMPLEMENTING STATUS CHANGE FUNCTIONALITY.


```diff
- <button className="border-2 rounded-[5px] bg-green-200 p-1 cursor-pointer text-green-500 mr-1">
+ <button 
+   type="button"
+   className="border-2 rounded-[5px] bg-green-200 p-1 cursor-pointer text-green-500 mr-1"
+   onClick={() => handleStatusChange(index, "Active")}
+ >
    ✔️
  </button>
- <button className="border-2 rounded-[5px] bg-red-200 p-1 cursor-pointer text-red-500">
+ <button 
+   type="button"
+   className="border-2 rounded-[5px] bg-red-200 p-1 cursor-pointer text-red-500"
+   onClick={() => handleStatusChange(index, "Cancel")}
+ >
    ❌
  </button>
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
                    <button 
                      type="button"
                      className="border-2 rounded-[5px] bg-green-200 p-1 cursor-pointer text-green-500 mr-1"
                      onClick={() => handleStatusChange(index, "Active")}
                    >
                      ✔️
                    </button>
                    <button 
                      type="button"
                      className="border-2 rounded-[5px] bg-red-200 p-1 cursor-pointer text-red-500"
                      onClick={() => handleStatusChange(index, "Cancel")}
                    >
                      ❌
                    </button>
`````

</details>

<!-- suggestion_end -->

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 Biome (1.9.4)</summary>

[error] 64-64: Provide an explicit type prop for the button element.

The default type of a button is submit, which causes the submission of a form when placed inside a `form` element. This is likely not the behaviour that you want inside a React application.
Allowed button types are: submit, button or reset

(lint/a11y/useButtonType)

---

[error] 67-68: Provide an explicit type prop for the button element.

The default type of a button is submit, which causes the submission of a form when placed inside a `form` element. This is likely not the behaviour that you want inside a React application.
Allowed button types are: submit, button or reset

(lint/a11y/useButtonType)

</details>

</details>

---

55-62: _🧹 Nitpick (assertive)_

**STATUS DISPLAY LOGIC IMPROVEMENT REQUIRED.**

CURRENT IMPLEMENTATION ONLY DIFFERENTIATES "ACTIVE" STATUS. RECOMMEND EXTENDING COLOR CODING TO ALL STATUS TYPES.


```diff
<p
-  className={`${
-    user.status === "Active" ? "text-green-500" : "text-red-500"
-  } px-2 py-1 text-center`}
+  className={`${
+    user.status === "Active" ? "text-green-500" : 
+    user.status === "Pending" ? "text-yellow-500" : 
+    "text-red-500"
+  } px-2 py-1 text-center`}
>
  {user.status}
</p>
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
                    <p
                      className={`${
                        user.status === "Active" ? "text-green-500" : 
                        user.status === "Pending" ? "text-yellow-500" : 
                        "text-red-500"
                      } px-2 py-1 text-center`}
                    >
                      {user.status}
                    </p>
                  </td>
`````

</details>

<!-- suggestion_end -->

</blockquote></details>
<details>
<summary>frontend/uddhar-frontend/src/coordinator/components/Update.jsx (2)</summary><blockquote>

29-34: _⚠️ Potential issue_

**CLOSE BUTTON FUNCTIONALITY ERROR DETECTED.**

DATA-DISMISS-TARGET ATTRIBUTE REFERENCES NON-EXISTENT ID. TOAST ID="toast-simple" BUT BUTTON TARGETS "#toast-success".


```diff
<button
  type="button"
  className="ms-auto -mx-1.5 -my-1.5 bg-white text-gray-800 hover:text-gray-900 rounded-lg p-1.5 hover:bg-gray-300 inline-flex items-center justify-center h-8 w-8 "
- data-dismiss-target="#toast-success"
+ data-dismiss-target="#toast-simple"
  aria-label="Close"
>
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
        <button
          type="button"
          className="ms-auto -mx-1.5 -my-1.5 bg-white text-gray-800 hover:text-gray-900 rounded-lg p-1.5 hover:bg-gray-300 inline-flex items-center justify-center h-8 w-8 "
          data-dismiss-target="#toast-simple"
          aria-label="Close"
        >
`````

</details>

<!-- suggestion_end -->

---

6-10: _🛠️ Refactor suggestion_

**TOAST NOTIFICATION REQUIRES STATE MANAGEMENT.**

STATIC TOAST DISPLAY WITHOUT DISMISS FUNCTIONALITY. RECOMMENDATION: IMPLEMENT STATE-BASED VISIBILITY CONTROL.


```diff
+ import { useState } from "react";

const Update = () => {
+ const [showToast, setShowToast] = useState(true);
+
+ if (!showToast) return <p className="text-2xl text-center mt-3">Live Update</p>;

  return (
    <>
      <p className="text-2xl text-center mt-3">Live Update</p>

      <div
        id="toast-simple"
        className="flex items-center w-full max-w-xs p-4 mt-3 space-x-4 rtl:space-x-reverse rounded-lg shadow-sm"
        role="alert"
      >
```

And update the close button:

```diff
<button
  type="button"
  className="ms-auto -mx-1.5 -my-1.5 bg-white text-gray-800 hover:text-gray-900 rounded-lg p-1.5 hover:bg-gray-300 inline-flex items-center justify-center h-8 w-8 "
  data-dismiss-target="#toast-simple"
  aria-label="Close"
+ onClick={() => setShowToast(false)}
>
```

</blockquote></details>
<details>
<summary>frontend/uddhar-frontend/src/coordinator/pages/sub-page/CenterPanel.jsx (2)</summary><blockquote>

8-14: _🧹 Nitpick (assertive)_

**RESPONSIVE DESIGN IMPROVEMENT NEEDED.**

CURRENT LAYOUT MAY NOT ADAPT WELL TO SMALLER SCREENS. RECOMMENDATION: ENHANCE MOBILE RESPONSIVENESS.


```diff
- <div className="flex flex-col my-5">
-   <div className="flex gap-[10px]">
+ <div className="flex flex-col my-5 w-full">
+   <div className="flex flex-col md:flex-row gap-[10px]">
      <WeatherCard />
      <DisasterSummary type="flood" />
    </div>
    <UserTable />
  </div>
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
      <div className="flex flex-col my-5 w-full">
        <div className="flex flex-col md:flex-row gap-[10px]">
          <WeatherCard />
          <DisasterSummary type="flood" />
        </div>
        <UserTable />
      </div>
`````

</details>

<!-- suggestion_end -->

---

10-11: _🧹 Nitpick (assertive)_

**CONFIGURATION OPTIONS ENHANCEMENT NEEDED.**

DISASTER TYPE "FLOOD" HARDCODED. RECOMMEND MAKING COMPONENT MORE FLEXIBLE WITH CONFIGURABLE PROPS.


```diff
- const CenterPanel = () => {
+ const CenterPanel = ({ disasterType = "flood" }) => {
  return (
    <>
      <div className="flex flex-col my-5">
        <div className="flex gap-[10px]">
          <WeatherCard />
-         <DisasterSummary type="flood" />
+         <DisasterSummary type={disasterType} />
        </div>
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
const CenterPanel = ({ disasterType = "flood" }) => {
  return (
    <>
      <div className="flex flex-col my-5">
        <div className="flex gap-[10px]">
          <WeatherCard />
          <DisasterSummary type={disasterType} />
        </div>
      </div>
    </>
  );
};
`````

</details>

<!-- suggestion_end -->

</blockquote></details>
<details>
<summary>frontend/uddhar-frontend/src/coordinator/pages/sub-page/LeftPanel.jsx (6)</summary><blockquote>

45-47: _⚠️ Potential issue_

**BUTTON TYPE ATTRIBUTE MISSING: SUPPORT BUTTON.**

DEFAULT BUTTON TYPE IS "SUBMIT". THIS MAY CAUSE UNINTENDED FORM SUBMISSIONS. EXPLICIT TYPE REQUIRED.

```diff
-<button className="w-full flex items-center space-x-3 px-4 py-3 text-gray-700 hover:bg-gray-100 rounded-md">
+<button type="button" className="w-full flex items-center space-x-3 px-4 py-3 text-gray-700 hover:bg-gray-100 rounded-md">
  <span>Support</span>
</button>
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
        <button type="button" className="w-full flex items-center space-x-3 px-4 py-3 text-gray-700 hover:bg-gray-100 rounded-md">
          <span>Support</span>
        </button>
`````

</details>

<!-- suggestion_end -->

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 Biome (1.9.4)</summary>

[error] 45-45: Provide an explicit type prop for the button element.

The default type of a button is submit, which causes the submission of a form when placed inside a `form` element. This is likely not the behaviour that you want inside a React application.
Allowed button types are: submit, button or reset

(lint/a11y/useButtonType)

</details>

</details>

---

48-50: _⚠️ Potential issue_

**BUTTON TYPE ATTRIBUTE MISSING: SIGN OUT BUTTON.**

DEFAULT BUTTON TYPE IS "SUBMIT". THIS MAY CAUSE UNINTENDED FORM SUBMISSIONS. EXPLICIT TYPE REQUIRED.

```diff
-<button className="w-full flex items-center space-x-3 px-4 py-3 text-gray-700 hover:bg-gray-100 rounded-md">
+<button type="button" className="w-full flex items-center space-x-3 px-4 py-3 text-gray-700 hover:bg-gray-100 rounded-md">
  <span>Sign Out</span>
</button>
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
        <button type="button" className="w-full flex items-center space-x-3 px-4 py-3 text-gray-700 hover:bg-gray-100 rounded-md">
          <span>Sign Out</span>
        </button>
`````

</details>

<!-- suggestion_end -->

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 Biome (1.9.4)</summary>

[error] 48-48: Provide an explicit type prop for the button element.

The default type of a button is submit, which causes the submission of a form when placed inside a `form` element. This is likely not the behaviour that you want inside a React application.
Allowed button types are: submit, button or reset

(lint/a11y/useButtonType)

</details>

</details>

---

20-20: _⚠️ Potential issue_

**ACCESSIBILITY ERROR DETECTED: IMAGE REQUIRES ALT TEXT.**

IMAGE TAG MISSING PROPER ACCESSIBILITY ATTRIBUTE. SCREEN READERS CANNOT INTERPRET IMAGE PURPOSE WITHOUT ALT TEXT.

```diff
-<img className="absolute left-3 top-2.5 text-gray-400 w-5 h-5" src={search} />
+<img className="absolute left-3 top-2.5 text-gray-400 w-5 h-5" src={search} alt="Search icon" />
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
        <img className="absolute left-3 top-2.5 text-gray-400 w-5 h-5" src={search} alt="Search icon" />
`````

</details>

<!-- suggestion_end -->

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 Biome (1.9.4)</summary>

[error] 20-20: Provide a text alternative through the alt, aria-label or aria-labelledby attribute

Meaningful alternative text on elements helps users relying on screen readers to understand content's purpose within a page.
If the content is decorative, redundant, or obscured, consider hiding it from assistive technologies with the aria-hidden attribute.

(lint/a11y/useAltText)

</details>

</details>

---

28-42: _⚠️ Potential issue_

**BUTTON TYPE ATTRIBUTE MISSING: POTENTIAL FORM SUBMISSION RISK.**

DEFAULT BUTTON TYPE IS "SUBMIT". THIS MAY CAUSE UNINTENDED FORM SUBMISSIONS. EXPLICIT TYPE REQUIRED.

```diff
<button
  key={item.name}
  onClick={() => setActive(item.name)}
+ type="button"
  className={`w-full flex items-center justify-between px-4 py-3 rounded-md text-left transition ${
    active === item.name ? "bg-amber-300 text-white" : "text-gray-700 hover:bg-gray-100"
  }`}
>
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
        {menuItems.map((item) => (
          <button
            key={item.name}
            onClick={() => setActive(item.name)}
            type="button"
            className={`w-full flex items-center justify-between px-4 py-3 rounded-md text-left transition ${
              active === item.name ? "bg-amber-300 text-white" : "text-gray-700 hover:bg-gray-100"
            }`}
          >
            <div className="flex items-center space-x-3">
              <img src={item.icon} alt="setting icon" className="w-4 h-4" />
              <span>{item.name}</span>
            </div>
            {/* {item.badge && <Badge className="bg-blue-500 text-white text-xs">{item.badge}</Badge>} */}
          </button>
        ))}
`````

</details>

<!-- suggestion_end -->

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 Biome (1.9.4)</summary>

[error] 29-35: Provide an explicit type prop for the button element.

The default type of a button is submit, which causes the submission of a form when placed inside a `form` element. This is likely not the behaviour that you want inside a React application.
Allowed button types are: submit, button or reset

(lint/a11y/useButtonType)

</details>

</details>

---

40-40: _🧹 Nitpick (assertive)_

**COMMENTED CODE DETECTED: BADGE COMPONENT.**

UNUSED CODE FRAGMENTS REDUCE CODE READABILITY. REMOVE OR IMPLEMENT BADGE FUNCTIONALITY.

```diff
-            {/* {item.badge && <Badge className="bg-blue-500 text-white text-xs">{item.badge}</Badge>} */}
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion

`````

</details>

<!-- suggestion_end -->

---

8-15: _🧹 Nitpick (assertive)_

**MENU ITEMS USING IDENTICAL ICONS: USER EXPERIENCE SUBOPTIMAL.**

ALL MENU ITEMS UTILIZE IDENTICAL SETTING ICON. DISTINCT ICONS RECOMMENDED FOR IMPROVED USER NAVIGATION AND RECOGNITION.

```diff
const menuItems = [
-  { name: "Home", icon: setting },
-  { name: "Disaster Control", icon: setting },
-  { name: "Analytics", icon: setting },
-  { name: "Resources", icon: setting, badge: "14 Events" },
-  { name: "Communication", icon: setting },
-  { name: "Emergency", icon: setting },
+  { name: "Home", icon: /* import homeIcon from "../../../assets/icons/home.png" */ },
+  { name: "Disaster Control", icon: /* import disasterIcon from "../../../assets/icons/disaster.png" */ },
+  { name: "Analytics", icon: /* import analyticsIcon from "../../../assets/icons/analytics.png" */ },
+  { name: "Resources", icon: /* import resourcesIcon from "../../../assets/icons/resources.png" */, badge: "14 Events" },
+  { name: "Communication", icon: /* import communicationIcon from "../../../assets/icons/communication.png" */ },
+  { name: "Emergency", icon: /* import emergencyIcon from "../../../assets/icons/emergency.png" */ },
];
```


> Committable suggestion skipped: line range outside the PR's diff.

</blockquote></details>
<details>
<summary>frontend/uddhar-frontend/src/coordinator/components/DisasterSummary.jsx (2)</summary><blockquote>

57-57: _⚠️ Potential issue_

**ICON INCONSISTENCY DETECTED: TYPHOON ICON USED FOR ALL DISASTER TYPES.**

COMPONENT IMPORTS TYPHOON.GIF BUT IGNORES DATA.ICON PROPERTY. EACH DISASTER TYPE SHOULD DISPLAY CORRESPONDING ICON.

```diff
-<img src={typhoon} alt={data.title} className="w-10" />
+<img src={require(`../../assets/icons/${data.icon}`)} alt={data.title} className="w-10" />
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
        <img src={require(`../../assets/icons/${data.icon}`)} alt={data.title} className="w-10" />
`````

</details>

<!-- suggestion_end -->

---

3-48: _🛠️ Refactor suggestion_

**STATIC MOCK DATA DETECTED: PRODUCTION READINESS CONCERN.**

HARD-CODED DISASTER DATA VIOLATES SEPARATION OF CONCERNS. RECOMMEND DATA FETCHING FROM API OR CONFIGURATION FILE.

```diff
-const disasterUpdates = {
-  earthquake: {
-    title: "Earthquake Update",
-    icon: "earthquake.png",
-    details: [
-      "Magnitude: 6.5, Epicenter: City A",
-      "Affected Population: 1.2M",
-      "Casualties: 150, Injuries: 500",
-      "Structural Damage: Severe",
-      "Volunteers: 2,000",
-    ],
-  },
-  flood: {
-    title: "Flood Update",
-    icon: "flood.png",
-    details: [
-      "Water Level: 3.2m, Severity: High",
-      "Affected Population: 500K",
-      "Rainfall: 120mm in 24h",
-      "Rescue Status: Ongoing",
-      "Volunteers: 1,500",
-    ],
-  },
-  cyclone: {
-    title: "Cyclone Alert",
-    icon: "cyclone.png",
-    details: [
-      "Wind Speed: 180 km/h, Category 4",
-      "Landfall Expected: City B",
-      "Affected Regions: Coastal Areas",
-      "Rainfall & Storm Surge: Severe Warning",
-      "Volunteers: 3,000",
-    ],
-  },
-  fire: {
-    title: "Fire Update",
-    icon: "fire.png",
-    details: [
-      "Location: Forest Zone C",
-      "Severity: Extreme",
-      "Casualties: 10, Injuries: 30",
-      "Evacuations: 5,000 people",
-      "Update: Fire 60% contained",
-    ],
-  },
-};
+// Import from a separate file or fetch from API
+import { disasterUpdates } from '../../data/disasterData';
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
// Import from a separate file or fetch from API
import { disasterUpdates } from '../../data/disasterData';
`````

</details>

<!-- suggestion_end -->

</blockquote></details>
<details>
<summary>frontend/uddhar-frontend/src/coordinator/components/WeatherCard.jsx (4)</summary><blockquote>

41-41: _⚠️ Potential issue_

**PROPERTY NAME MISMATCH: TYPE VS ICON.**

DATA MODEL USES "ICON" PROPERTY BUT COMPONENT REFERENCES "TYPE". DATA INCONSISTENCY WILL CAUSE RUNTIME ERROR.

```diff
-<img src={`/icons/${day.type}`} alt={day.day} className="w-8 h-8" />
+<img src={`/icons/${day.icon}`} alt={day.day} className="w-8 h-8" />
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
              <img src={`/icons/${day.icon}`} alt={day.day} className="w-8 h-8" />
`````

</details>

<!-- suggestion_end -->

---

24-24: _⚠️ Potential issue_

**ACCESSIBILITY ISSUE: MISSING DESCRIPTIVE ALT TEXT.**

IMAGE ALT TEXT "WEATHER" IS TOO GENERIC. PROVIDE SPECIFIC DESCRIPTION FOR SCREEN READERS.

```diff
-<img src={rain} alt="weather" className="w-10" />
+<img src={rain} alt="Rain weather icon" className="w-10" />
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
            <img src={rain} alt="Rain weather icon" className="w-10" />
`````

</details>

<!-- suggestion_end -->

---

19-50: _🧹 Nitpick (assertive)_

**COMPONENT LACKS CONFIGURABILITY: NO PROPS DEFINED.**

COMPONENT HAS FIXED BEHAVIOR WITH NO CUSTOMIZATION OPTIONS. RECOMMEND ADDING PROPS FOR LOCATION OR OTHER PARAMETERS.

```diff
-const WeatherCard = () => {
+const WeatherCard = ({ location = "Current Location" }) => {
    return (
      <div className="bg-blue-200 bg-opacity-50 p-6 rounded-xl shadow-md w-115 h-80 text-gray-900">
        <div className="flex justify-between items-center">
          <div className="flex items-center gap-3">
            <img src={rain} alt="Rain weather icon" className="w-10" />
-            <h2 className="text-xl font-semibold">Forecast</h2>
+            <h2 className="text-xl font-semibold">Forecast for {location}</h2>
          </div>
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
const WeatherCard = ({ location = "Current Location" }) => {
    return (
      <div className="bg-blue-200 bg-opacity-50 p-6 rounded-xl shadow-md w-115 h-80 text-gray-900">
        <div className="flex justify-between items-center">
          <div className="flex items-center gap-3">
            <img src={rain} alt="Rain weather icon" className="w-10" />
            <h2 className="text-xl font-semibold">Forecast for {location}</h2>
          </div>
          <span className="text-3xl font-bold">{weatherData.currentTemp}°C</span>
        </div>
        <div className="text-sm text-gray-800 mt-2">
          <p>Humidity: {weatherData.humidity}%</p>
          <p>Pressure: {weatherData.pressure} hPa</p>
          <p>Wind: {weatherData.windSpeed} km/h</p>
        </div>
        <div className="mt-4 grid grid-cols-5 gap-2">
          {weatherData.forecast.map((day, index) => (
            <div
              key={index}
              className="flex flex-col items-center bg-blue-300 bg-opacity-50 p-2 rounded-lg shadow"
            >
              <span className="font-semibold">{day.day}</span>
              <img src={`/icons/${day.type}`} alt={day.day} className="w-8 h-8" />
              <span className="text-sm">{day.max}°C</span>
              <span className="text-xs text-gray-700">{day.min}°C</span>
              <span className="text-xs">🌧 {day.rain} mm</span>
            </div>
          ))}
        </div>
      </div>
    );
  };
`````

</details>

<!-- suggestion_end -->

---

3-17: _🛠️ Refactor suggestion_

**STATIC MOCK DATA DETECTED: WEATHER INFORMATION.**

HARD-CODED WEATHER DATA NOT SUITABLE FOR PRODUCTION. IMPLEMENT API INTEGRATION WITH WEATHER SERVICE.

```diff
-const weatherData = {
-    currentTemp: 3.5,
-    humidity: 95,
-    pressure: 979.3,
-    windSpeed: 28.8,
-    sunrise: "8:41:58 AM",
-    sunset: "4:57:41 PM",
-    forecast: [
-      { day: "TUE", max: 4.2, min: -1.6, icon: "", rain: 0.4 },
-      { day: "WED", max: 4.2, min: -2, icon: "cloud.png", rain: 0.8 },
-      { day: "THU", max: 5, min: 1.3, icon: "partly-cloudy.png", rain: 7.2 },
-      { day: "FRI", max: 1.5, min: -2.5, icon: "sunny.png", rain: 0.7 },
-      { day: "SAT", max: -0.4, min: -4.6, icon: "cloudy.png", rain: 0.0 },
-    ],
-};
+// Import from API service or use React Query/SWR for data fetching
+import { useWeatherData } from '../../hooks/useWeatherData';
+
+const WeatherCard = () => {
+    const { data: weatherData, isLoading, error } = useWeatherData();
+    
+    if (isLoading) return <div className="loading-spinner">Loading weather data...</div>;
+    if (error) return <div className="error-message">Failed to load weather data</div>;
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
// Import from API service or use React Query/SWR for data fetching
import { useWeatherData } from '../../hooks/useWeatherData';

const WeatherCard = () => {
    const { data: weatherData, isLoading, error } = useWeatherData();

    if (isLoading)
        return <div className="loading-spinner">Loading weather data...</div>;
    if (error)
        return <div className="error-message">Failed to load weather data</div>;

    return (
        <div className="weather-card">
            <h2>Current Weather</h2>
            <p>Temperature: {weatherData.currentTemp}°C</p>
            <p>Humidity: {weatherData.humidity}%</p>
            <p>Pressure: {weatherData.pressure} hPa</p>
            <p>Wind Speed: {weatherData.windSpeed} km/h</p>
            <p>Sunrise: {weatherData.sunrise}</p>
            <p>Sunset: {weatherData.sunset}</p>
            <div className="forecast">
                {weatherData.forecast.map((day, index) => (
                    <div key={index} className="forecast-day">
                        <strong>{day.day}</strong>
                        <p>Max: {day.max}°C, Min: {day.min}°C</p>
                        <img src={day.icon} alt={`${day.day} weather icon`} />
                        <p>Rain: {day.rain} mm</p>
                    </div>
                ))}
            </div>
        </div>
    );
};

export default WeatherCard;
`````

</details>

<!-- suggestion_end -->

</blockquote></details>
<details>
<summary>frontend/uddhar-frontend/src/authentication/pages/Login.jsx (8)</summary><blockquote>

31-31: _🧹 Nitpick (assertive)_

**SUBOPTIMAL NAVIGATION METHOD DETECTED.**

DIRECT WINDOW LOCATION MANIPULATION CAUSES FULL PAGE RELOAD. RECOMMEND USING REACT ROUTER FOR NAVIGATION.

```diff
-        window.location.href = "/";
+        navigate("/");
```

ADDITIONAL IMPORT REQUIRED:
```javascript
import { useNavigate } from "react-router-dom";
```

AND INSIDE COMPONENT:
```javascript
const navigate = useNavigate();
```

---

30-30: _🧹 Nitpick (assertive)_

**CONSOLE.LOG STATEMENTS DETECTED IN PRODUCTION CODE.**

DEBUGGING CONSOLE STATEMENTS SHOULD BE REMOVED BEFORE PRODUCTION DEPLOYMENT.

```diff
-        console.log(data.msg);
+        // REMOVE CONSOLE LOG OR USE LOGGER SERVICE
```

```diff
-      console.error("Error:", error);
+      // USE ERROR LOGGING SERVICE INSTEAD
```


Also applies to: 36-36

---

105-107: _⚠️ Potential issue_

**ACCESSIBILITY ISSUE: BUTTON TYPE ATTRIBUTE MISSING.**

BUTTON ELEMENT INSIDE FORM WITHOUT TYPE ATTRIBUTE DEFAULTS TO "submit". THIS MAY CAUSE UNINTENDED FORM SUBMISSION.

```diff
-              <button className="w-full text-blue-400 font-bold text-sm md:text-lg ">
+              <button type="button" className="w-full text-blue-400 font-bold text-sm md:text-lg ">
               <a href="/password-recovery">Forget password?</a>
              </button>
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
              <button type="button" className="w-full text-blue-400 font-bold text-sm md:text-lg ">
               <a href="/password-recovery">Forget password?</a>
              </button>
`````

</details>

<!-- suggestion_end -->

<details>
<summary>🧰 Tools</summary>

<details>
<summary>🪛 Biome (1.9.4)</summary>

[error] 105-105: Provide an explicit type prop for the button element.

The default type of a button is submit, which causes the submission of a form when placed inside a `form` element. This is likely not the behaviour that you want inside a React application.
Allowed button types are: submit, button or reset

(lint/a11y/useButtonType)

</details>

</details>

---

46-46: _🧹 Nitpick (assertive)_

**TYPOGRAPHICAL ERROR DETECTED.**

WORD "CONQURE" IS MISSPELLED. CORRECT SPELLING IS "CONQUER".

```diff
-            Join, Connect & Conqure
+            Join, Connect & Conquer
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
            Join, Connect & Conquer
`````

</details>

<!-- suggestion_end -->

---

18-18: _🛠️ Refactor suggestion_

**HARDCODED API URL DETECTED. SECURITY VULNERABILITY ALERT.**

HARDCODED URL PREVENTS ENVIRONMENT-SPECIFIC CONFIGURATION. RECOMMEND USING ENVIRONMENT VARIABLES FOR API ENDPOINTS.

```diff
-      const response = await fetch("http://localhost:3000/auth/login", {
+      const response = await fetch(process.env.REACT_APP_API_URL + "/auth/login", {
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
      const response = await fetch(process.env.REACT_APP_API_URL + "/auth/login", {
`````

</details>

<!-- suggestion_end -->

---

29-29: _🛠️ Refactor suggestion_

**INSECURE COOKIE STORAGE DETECTED.**

COOKIES SHOULD HAVE SECURITY ATTRIBUTES ENABLED. CURRENT IMPLEMENTATION VULNERABLE TO XSS ATTACKS.

```diff
-        Cookies.set("token", data.token);
+        Cookies.set("token", data.token, { 
+          secure: true, 
+          sameSite: 'strict',
+          expires: 1 // EXPIRES IN 1 DAY
+        });
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
        Cookies.set("token", data.token, { 
          secure: true, 
          sameSite: 'strict',
          expires: 1 // EXPIRES IN 1 DAY
        });
`````

</details>

<!-- suggestion_end -->

---

6-6: _⚠️ Potential issue_

**INCORRECT DATA TYPE DETECTED FOR PASSWORD VISIBILITY CONTROL.**

PASSWORD VISIBILITY INITIAL STATE IS SET TO STRING "true" INSTEAD OF BOOLEAN true. THIS CAUSES TYPE INCONSISTENCY.

```diff
-  const [showPassword, setShowPassword] = useState("true");
+  const [showPassword, setShowPassword] = useState(false);
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
  const [showPassword, setShowPassword] = useState(false);
`````

</details>

<!-- suggestion_end -->

---

60-92: _🛠️ Refactor suggestion_

**INPUT VALIDATION MISSING. SECURITY VULNERABILITY DETECTED.**

NO EMAIL OR PASSWORD VALIDATION BEFORE SUBMISSION. RECOMMEND ADDING CLIENT-SIDE VALIDATION.

```diff
 const handleLogin = async (e) => {
   e.preventDefault();
+  
+  // VALIDATE EMAIL FORMAT
+  const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
+  if (!emailRegex.test(email)) {
+    setError("PLEASE ENTER VALID EMAIL ADDRESS");
+    return;
+  }
+  
+  // VALIDATE PASSWORD
+  if (password.length < 6) {
+    setError("PASSWORD MUST BE AT LEAST 6 CHARACTERS");
+    return;
+  }
+  
   try {
     // EXISTING CODE...
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
const handleLogin = async (e) => {
  e.preventDefault();
  
  // VALIDATE EMAIL FORMAT
  const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
  if (!emailRegex.test(email)) {
    setError("PLEASE ENTER VALID EMAIL ADDRESS");
    return;
  }
  
  // VALIDATE PASSWORD
  if (password.length < 6) {
    setError("PASSWORD MUST BE AT LEAST 6 CHARACTERS");
    return;
  }
  
  try {
    // EXISTING CODE...
  } catch (error) {
    // handle error
  }
};
`````

</details>

<!-- suggestion_end -->

</blockquote></details>

</blockquote></details>

<!-- This is an auto-generated comment by CodeRabbit for review status -->
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-22T10:48:37Z
user: login: coderabbitai[bot]
body: **Actionable comments posted: 2**

<details>
<summary>📜 Review details</summary>

**Configuration used: CodeRabbit UI**
**Review profile: ASSERTIVE**
**Plan: Pro**

<details>
<summary>📥 Commits</summary>

Reviewing files that changed from the base of the PR and between e441bd8c9c8b3c8f6da8e638666b8970fa777a2a and 3005be45adf89246f609d0f405f027b8aabebb36.

</details>

<details>
<summary>📒 Files selected for processing (1)</summary>

* `frontend/uddhar-frontend/src/App.jsx` (2 hunks)

</details>

<details>
<summary>🧰 Additional context used</summary>

<details>
<summary>🧬 Code Definitions (1)</summary>

<details>
<summary>frontend/uddhar-frontend/src/App.jsx (4)</summary><blockquote>

<details>
<summary>frontend/uddhar-frontend/src/shared/components/Navbar.jsx (1) (1)</summary>

* `Navbar` (13-66)

</details>
<details>
<summary>frontend/uddhar-frontend/src/shared/components/DashboardNavbar.jsx (1) (1)</summary>

* `DashboardNavbar` (4-44)

</details>
<details>
<summary>frontend/uddhar-frontend/src/coordinator/pages/CoordinatorDashboard.jsx (1) (1)</summary>

* `CoordinatorDashboard` (5-15)

</details>
<details>
<summary>frontend/uddhar-frontend/src/authentication/pages/Registration.jsx (1) (1)</summary>

* `Login` (1-3)

</details>

</blockquote></details>

</details>

</details>

<details>
<summary>🔇 Additional comments (3)</summary><blockquote>

<details>
<summary>frontend/uddhar-frontend/src/App.jsx (3)</summary>

`15-22`: **ROUTING STRUCTURE UPDATE DETECTED. ANALYSIS: POSITIVE.**

Observed improvement: Landing component now properly wrapped within Navbar component. This implementation ensures consistent navigation experience across application.

---

`23-30`: **NEW ROUTE INTEGRATED SUCCESSFULLY.**

New coordinator dashboard route implementation follows application architecture patterns. DashboardNavbar correctly wraps CoordinatorDashboard component, providing specialized navigation context for administrative functions.

---

`31-38`: **LOGIN ROUTE STRUCTURE ENHANCED.**

Login component now wrapped with Navbar component. This maintains UI consistency with landing page and improves user experience during authentication flow.

</details>

</blockquote></details>

</details>

<!-- This is an auto-generated comment by CodeRabbit for review status -->
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-03-22T10:50:33Z

Review comments:
diff_hunk: @@ -1,5 +1,8 @@
 import { Route, BrowserRouter as Router, Routes } from "react-router-dom";
 
+import Login from "./authentication/pages/Login";
+import DashboardNavbar from "./shared/components/DashboardNavbar";
+import CoordinatorDashboard from "./coordinator/pages/CoordinatorDashboard";
path: frontend/uddhar-frontend/src/App.jsx
user: login: coderabbitai[bot]
body: _⚠️ Potential issue_

**DUPLICATE IMPORT DETECTED. IMMEDIATE ACTION REQUIRED.**

Error detected: Login component is imported twice (line 3 and line 7). This redundancy causes confusion for module resolution system and wastes computational resources.


```diff
 import { Route, BrowserRouter as Router, Routes } from "react-router-dom";

 import Login from "./authentication/pages/Login";
 import DashboardNavbar from "./shared/components/DashboardNavbar";
 import CoordinatorDashboard from "./coordinator/pages/CoordinatorDashboard";
 import {Navbar, Landing} from "./public/Public";
-import Login from "./authentication/pages/Login";
 import ForgetPass from "./authentication/pages/ForgetPass";
```


Also applies to: 7-7

<!-- This is an auto-generated comment by CodeRabbit -->

✅ Addressed in commit 9a92212
created_at: 2025-03-22T10:50:32Z
author_association: CONTRIBUTOR
diff_hunk: @@ -8,10 +11,31 @@ const App = () => {
   return (
     <>
       <Router>
-        <Navbar />
         <Routes>
-          <Route path="/" element={<Landing />} />
-          <Route path="/sign-in" element={<Login />} />
+          <Route
+            path="/"
+            element={
+              <Navbar>
+                <Landing />
+              </Navbar>
+            }
+          />
+          <Route
+            path="/dashboard/coordinator"
+            element={
+              <DashboardNavbar>
+                <CoordinatorDashboard />
+              </DashboardNavbar>
+            }
+          />
+          <Route
+            path="/sign-in"
+            element={
+              <Navbar>
+                <Login />
+              </Navbar>
+            }
+          />
           <Route path="/password-recovery" element={<ForgetPass />} />
path: frontend/uddhar-frontend/src/App.jsx
user: login: coderabbitai[bot]
body: _🧹 Nitpick (assertive)_

**INCONSISTENT COMPONENT WRAPPING PATTERN DETECTED.**

Unlike other routes, ForgetPass component is not wrapped with Navbar. This creates inconsistent user experience.


```diff
-<Route path="/password-recovery" element={<ForgetPass />} />
+<Route
+  path="/password-recovery"
+  element={
+    <Navbar>
+      <ForgetPass />
+    </Navbar>
+  }
+/>
```


<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

`````suggestion
          <Route
            path="/password-recovery"
            element={
              <Navbar>
                <ForgetPass />
              </Navbar>
            }
          />
`````

</details>

<!-- suggestion_end -->

<!-- This is an auto-generated comment by CodeRabbit -->
created_at: 2025-03-22T10:50:32Z
author_association: CONTRIBUTOR

PR comments:
user: login: coderabbitai[bot]
created_at: 2025-03-22T10:43:19Z
body: <!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- walkthrough_start -->

<details>
<summary>📝 Walkthrough</summary>

## Summary by CodeRabbit

- **New Features**
  - Upgraded third-party integrations to enhance HTTP handling and icon support.
  - Expanded navigation with updated routes for landing, sign-in, and a dedicated coordinator dashboard.
  - Introduced new interactive UI elements, including a disaster summary display, emergency message form, live update notifications, an organization request table, and a weather information card with a forecast.
  - Rolled out a revamped multi-panel dashboard layout featuring an interactive sidebar and an improved dashboard navigation bar.

- **Chores/Refactor**
  - Refined component exports and streamlined navigation data for better maintainability.
## Walkthrough
This pull request adds new dependencies (axios, lucide-react, react-icons) to the project and updates the routing structure in the main App component. New routes now wrap components with either the Navbar or DashboardNavbar. Several new coordinator components and panels have been introduced—including disaster summaries, emergency messaging, live updates, user tables, and weather displays—along with data file updates for organization and navigation details. Public interface modifications include the removal of the Navbar export and changes in navigation data.

## Changes
| File(s) | Change Summary |
| --- | --- |
| `frontend/uddhar-frontend/package.json` | Added dependencies: axios (^1.7.9), lucide-react (^0.476.0), react-icons (^5.4.0). |
| `frontend/uddhar-frontend/src/App.jsx` | Updated routing: imported Login, DashboardNavbar, and CoordinatorDashboard; wrapped routes with Navbar/DashboardNavbar. |
| `frontend/uddhar-frontend/src/coordinator/components/{DisasterSummary, EmergencyMsg, Update, UserTable, WeatherCard}.jsx` | Added new components for disaster updates, emergency messaging, live updates, user tables, and weather displays. |
| `frontend/uddhar-frontend/src/coordinator/data/Data.jsx` | Introduced `tableHeader` and `organizationData` constants for tabular organization data. |
| `frontend/uddhar-frontend/src/coordinator/pages/CoordinatorDashboard.jsx` | Modified layout to integrate LeftPanel, CenterPanel, and RightPanel components. |
| `frontend/uddhar-frontend/src/coordinator/pages/sub-page/{CenterPanel, LeftPanel, RightPanel}.jsx` | Added panel components: CenterPanel (aggregates WeatherCard, DisasterSummary, UserTable), LeftPanel (Sidebar), and RightPanel (EmergencyMsg, Update). |
| `frontend/uddhar-frontend/src/public/{Public.jsx,data/Data.jsx}` | Removed Navbar export and the `navLinks` constant from public modules. |
| `frontend/uddhar-frontend/src/shared/{components/{DashboardNavbar,Navbar}.jsx, data/Data.jsx}` | Added DashboardNavbar; updated Navbar to accept children; added `navLinks` in shared data. |

## Possibly related PRs
- **Learnathon-By-Geeky-Solutions/cou-visionary-coders#48**: Related to routing changes and the inclusion of the Login component.  
- **Learnathon-By-Geeky-Solutions/artisan-forces#36**: Involves the addition of axios and react-icons dependencies similar to this PR.

## Poem
> In digital realms our code does gleam,  
> With routes and panels, a seamless dream.  
> Axios and icons join the parade,  
> New components built, logic finely laid.  
> Geeky bytes dance in a rhythmic stream.  
> 🚀🤖

</details>

<!-- walkthrough_end -->


---

<details>
<summary>📜 Recent review details</summary>

**Configuration used: CodeRabbit UI**
**Review profile: ASSERTIVE**
**Plan: Pro**

<details>
<summary>📥 Commits</summary>

Reviewing files that changed from the base of the PR and between 3005be45adf89246f609d0f405f027b8aabebb36 and 9a92212f7ea6ade96a3f46a6de70a8af996b0afa.

</details>

<details>
<summary>📒 Files selected for processing (1)</summary>

* `frontend/uddhar-frontend/src/App.jsx` (1 hunks)

</details>

<details>
<summary>🧰 Additional context used</summary>

<details>
<summary>🧬 Code Definitions (1)</summary>

<details>
<summary>frontend/uddhar-frontend/src/App.jsx (5)</summary><blockquote>

<details>
<summary>frontend/uddhar-frontend/src/shared/components/Navbar.jsx (1) (1)</summary>

* `Navbar` (13-66)

</details>
<details>
<summary>frontend/uddhar-frontend/src/public/pages/Landing.jsx (1) (1)</summary>

* `Landing` (4-16)

</details>
<details>
<summary>frontend/uddhar-frontend/src/shared/components/DashboardNavbar.jsx (1) (1)</summary>

* `DashboardNavbar` (4-44)

</details>
<details>
<summary>frontend/uddhar-frontend/src/coordinator/pages/CoordinatorDashboard.jsx (1) (1)</summary>

* `CoordinatorDashboard` (5-15)

</details>
<details>
<summary>frontend/uddhar-frontend/src/authentication/pages/Registration.jsx (1) (1)</summary>

* `Login` (1-3)

</details>

</blockquote></details>

</details>

</details>

<details>
<summary>🔇 Additional comments (4)</summary><blockquote>

<details>
<summary>frontend/uddhar-frontend/src/App.jsx (4)</summary>

`4-6`: **IMPORTS ANALYSIS: NEW COMPONENTS DETECTED.**

NEW COMPONENTS INTEGRATED SUCCESSFULLY. IMPORTS FOLLOW LOGICAL ORGANIZATION PATTERN. DASHBOARD FUNCTIONALITY EXPANSION CONFIRMED.

---

`14-29`: **ROUTE STRUCTURE: OPTIMAL COMPONENT NESTING DETECTED.**

ROUTING LOGIC FOLLOWS HIERARCHICAL DESIGN PATTERN. NAVBAR COMPONENTS CORRECTLY WRAP CONTENT COMPONENTS. DASHBOARD ROUTE SUCCESSFULLY IMPLEMENTED WITH APPROPRIATE NAVIGATION COMPONENT.

---

`30-37`: **AUTHENTICATION ROUTE: PROPER NAVBAR IMPLEMENTATION DETECTED.**

LOGIN COMPONENT CORRECTLY WRAPPED WITH NAVBAR. USER INTERFACE CONSISTENCY MAINTAINED.

---

`38-38`: **INCONSISTENT COMPONENT WRAPPING PATTERN DETECTED.**

UNLIKE OTHER ROUTES, FORGETPASS COMPONENT IS NOT WRAPPED WITH NAVBAR. THIS CREATES INCONSISTENT USER EXPERIENCE.

```diff
-<Route path="/password-recovery" element={<ForgetPass />} />
+<Route
+  path="/password-recovery"
+  element={
+    <Navbar>
+      <ForgetPass />
+    </Navbar>
+  }
+/>
```

</details>

</blockquote></details>

</details>
<!-- internal state start -->


<!-- DwQgtGAEAqAWCWBnSTIEMB26CuAXA9mA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DIwTtDYV9kRyCyM5l5klwPM/gvzPyBCzJIIsm2F4H5k8jpZ4soiNyKllS5og0qtCXxzlVtTMliqvCZJy15sCi1mc+TgpXHk3rjV62cZetPDX2ddOgbZ3p3GziHJA4JKkOLGvLjsBK4aAauO4QbgpwFo6cNuFnD9jlx1AAAfVOCIAmN83K4HfVoBManweBH2AYDw3nRLo10W6PdAECPR1gz0V6O9E+jfRhov0f6CsEBjAxQY7cQwHht2ArABobwHcANF6jpA/oSwHcMNGegTRaASmvcANHSBrAdov0NAHu1UAjQ1NAmhjX1DQB9QlgSwcoEsHSA7Rcgw0X2n1AC2rRjNaAF6CQD2hoB1gaAdIH1CC0CAVgMWuyPxrw0jhmNrG9jSLwCh0AmNAcNTUAA= -->

<!-- internal state end -->
<!-- finishing_touch_checkbox_start -->

<details>
<summary>✨ Finishing Touches</summary>

- [ ] <!-- {"checkboxId": "7962f53c-55bc-4827-bfbf-6a18da830691"} --> 📝 Generate Docstrings

</details>

<!-- finishing_touch_checkbox_end -->
<!-- tips_start -->

---



<details>
<summary>🪧 Tips</summary>

### Chat

There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=Learnathon-By-Geeky-Solutions/3-brain-cell&utm_content=23):

- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
  - `I pushed a fix in commit <commit_id>, please review it.`
  - `Generate unit testing code for this file.`
  - `Open a follow-up GitHub issue for this discussion.`
- Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples:
  - `@coderabbitai generate unit testing code for this file.`
  -	`@coderabbitai modularize this function.`
- PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
  - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.`
  - `@coderabbitai read src/utils.ts and generate unit testing code.`
  - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.`
  - `@coderabbitai help me debug CodeRabbit configuration file.`

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

### CodeRabbit Commands (Invoked using PR comments)

- `@coderabbitai pause` to pause the reviews on a PR.
- `@coderabbitai resume` to resume the paused reviews.
- `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
- `@coderabbitai full review` to do a full review from scratch and review all the files again.
- `@coderabbitai summary` to regenerate the summary of the PR.
- `@coderabbitai generate docstrings` to [generate docstrings](https://docs.coderabbit.ai/finishing-touches/docstrings) for this PR.
- `@coderabbitai resolve` resolve all the CodeRabbit review comments.
- `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository.
- `@coderabbitai help` to get help.

### Other keywords and placeholders

- Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed.
- Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description.
- Add `@coderabbitai` anywhere in the PR title to generate the title automatically.

### CodeRabbit Configuration File (`.coderabbit.yaml`)

- You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository.
- Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json`

### Documentation and Community

- Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit.
- Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback.
- Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.

</details>

<!-- tips_end -->
author_association: CONTRIBUTOR
user: login: Warhammer4000
created_at: 2025-03-22T10:45:33Z
body: ![](https://res.cloudinary.com/snyk/image/upload/r-d/scm-platform/snyk-pull-requests/pr-banner-default.svg)

### :tada: **Snyk checks have passed. No issues have been found so far.**

:white_check_mark: **security/snyk** check is complete. No issues have been found. [(View Details)](https://app.snyk.io/org/warhammer4000/pr-checks/12def470-6646-4e91-ba10-ab0c13316579?refs=9a92212f7ea6ade96a3f46a6de70a8af996b0afa&source=prChecksComment)



author_association: CONTRIBUTOR
user: login: sonarqubecloud[bot]
created_at: 2025-03-22T13:39:46Z
body: ## [![Quality Gate Failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-failed-20px.png 'Quality Gate Failed')](https://sonarcloud.io/dashboard?id=Learnathon-By-Geeky-Solutions_3-brain-cell&pullRequest=23) **Quality Gate failed**  
Failed conditions  
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/failed-16px.png '') [B Reliability Rating on New Code](https://sonarcloud.io/dashboard?id=Learnathon-By-Geeky-Solutions_3-brain-cell&pullRequest=23) (required ≥ A)  
  
[See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=Learnathon-By-Geeky-Solutions_3-brain-cell&pullRequest=23)

##   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/light_bulb-16px.png '') Catch issues before they fail your Quality Gate with our IDE extension ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/sonarlint-16px.png '') [SonarQube for IDE](https://www.sonarsource.com/products/sonarlint/features/connected-mode/?referrer=pull-request)


author_association: NONE