From adfe44426ce07224c12d02937af6b0b519f7fc16 Mon Sep 17 00:00:00 2001 From: Satyam Rastogi Date: Fri, 29 May 2026 21:20:40 +0530 Subject: [PATCH] feat(routes): add /lead-verification route + sidebar nav (OWNER/ADMIN/FIELD_AGENT) --- src/App.jsx | 6 ++++++ src/components/Layout.jsx | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/App.jsx b/src/App.jsx index 7db60fa..4a48c8b 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -44,6 +44,7 @@ import LeadProjectPage from './pages/LeadProjectPage'; import StormIntelPage from './pages/StormIntelPage'; import FieldStormZonePage from './pages/FieldStormZonePage'; import UserDetailsPage from './pages/UserDetailsPage'; +import LeadVerificationPage from './pages/LeadVerification/LeadVerificationPage'; // ... (existing imports) const ProtectedRoute = ({ children, allowedRoles }) => { @@ -95,6 +96,11 @@ function App() { } /> + + + + } /> { { to: "/admin/dashboard", icon: LayoutDashboard, label: "Dashboard" }, { to: "/owner/projects", icon: Briefcase, label: "Projects" }, { to: "/emp/fa/leads", icon: ClipboardList, label: "Leads" }, + { to: "/lead-verification", icon: ShieldCheck, label: "Lead Verification" }, { to: "/owner/kanban", icon: LayoutGrid, label: "Pipeline" }, { to: "/admin/dispatch", icon: Zap, label: "LynkDispatch" }, { to: "/owner/storm-intel", icon: CloudLightning, label: "Storm Intel" }, @@ -161,6 +162,7 @@ const Layout = () => { { to: "/admin/schedule", icon: Calendar, label: "Schedule" }, { to: "/admin/leaderboard", icon: Trophy, label: "Leaderboard" }, { to: "/emp/fa/leads", icon: ClipboardList, label: "Leads" }, + { to: "/lead-verification", icon: ShieldCheck, label: "Lead Verification" }, { to: "/admin/kanban", icon: LayoutGrid, label: "Pipeline" }, { to: "/admin/dispatch", icon: Zap, label: "LynkDispatch" }, { to: "/admin/storm-intel", icon: CloudLightning, label: "Storm Intel" }, @@ -193,6 +195,7 @@ const Layout = () => { { to: "/emp/fa/dashboard", icon: LayoutDashboard, label: "Dashboard" }, { to: "/emp/fa/maps", icon: Map, label: "My Map" }, { to: "/emp/fa/leads", icon: ClipboardList, label: "Leads" }, + { to: "/lead-verification", icon: ShieldCheck, label: "Lead Verification" }, { to: "/emp/fa/kanban", icon: LayoutGrid, label: "Pipeline" }, { to: "/field/storm-zones", icon: CloudLightning, label: "Storm Zones" }, {