Add client dashboard page, restore MyCompany to people+edit only

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Krao Hasanee
2026-03-27 00:52:52 -04:00
parent aeaf6558ac
commit 2c4f42ea55
6 changed files with 180 additions and 77 deletions
+2
View File
@@ -17,6 +17,7 @@ import CreateInvoice from './pages/team/CreateInvoice';
import InvoiceDetail from './pages/team/InvoiceDetail';
import Settings from './pages/Settings';
import ClientDashboard from './pages/client/ClientDashboard';
import MyCompany from './pages/client/MyCompany';
import MyRequests from './pages/client/MyRequests';
import MyProjects from './pages/client/MyProjects';
@@ -46,6 +47,7 @@ export default function App() {
<Route path="/settings" element={<ProtectedRoute><Settings /></ProtectedRoute>} />
<Route path="/my-dashboard" element={<ProtectedRoute role="client"><ClientDashboard /></ProtectedRoute>} />
<Route path="/my-company" element={<ProtectedRoute role="client"><MyCompany /></ProtectedRoute>} />
<Route path="/my-requests" element={<ProtectedRoute role="client"><MyRequests /></ProtectedRoute>} />
<Route path="/my-requests/:id" element={<ProtectedRoute role="client"><RequestDetail /></ProtectedRoute>} />