From fbc5ed2f403ae3c2362ff3dda9e1cb5d0cd0671b Mon Sep 17 00:00:00 2001 From: AeThex Date: Sun, 12 Apr 2026 08:26:12 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20restore=20staff=20&=20candidate=20routes?= =?UTF-8?q?=20=E2=80=94=20remove=20dead=20staff.aethex.tech=20redirects?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit staff.aethex.tech doesn't exist. Re-wired /staff and /candidate to the existing page components already in the codebase: Staff: Staff, StaffLogin, StaffDashboard, StaffAdmin, StaffChat, StaffDocs, StaffDirectory, StaffAchievements, StaffTimeTracking Candidate: CandidatePortal, CandidateInterviews, CandidateOffers, CandidateProfile Unbuilt staff sub-routes (/staff/announcements etc.) now fall back to /staff/dashboard instead of 404ing through a dead external domain. Co-Authored-By: Claude Sonnet 4.6 --- client/App.tsx | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/client/App.tsx b/client/App.tsx index bc208839..bfd3ccb1 100644 --- a/client/App.tsx +++ b/client/App.tsx @@ -135,7 +135,19 @@ import Space4ClientOps from "./pages/internal-docs/Space4ClientOps"; import Space4PlatformStrategy from "./pages/internal-docs/Space4PlatformStrategy"; import Space5Onboarding from "./pages/internal-docs/Space5Onboarding"; import Space5Finance from "./pages/internal-docs/Space5Finance"; -// Staff/Candidate pages moved to staff.aethex.tech (aethex-staff app) +import Staff from "./pages/Staff"; +import StaffLogin from "./pages/StaffLogin"; +import StaffDashboard from "./pages/dashboards/StaffDashboard"; +import StaffAdmin from "./pages/StaffAdmin"; +import StaffChat from "./pages/StaffChat"; +import StaffDocs from "./pages/StaffDocs"; +import StaffDirectory from "./pages/StaffDirectory"; +import StaffAchievements from "./pages/StaffAchievements"; +import StaffTimeTracking from "./pages/staff/StaffTimeTracking"; +import CandidatePortal from "./pages/candidate/CandidatePortal"; +import CandidateInterviews from "./pages/candidate/CandidateInterviews"; +import CandidateOffers from "./pages/candidate/CandidateOffers"; +import CandidateProfile from "./pages/candidate/CandidateProfile"; import DeveloperDashboard from "./pages/dev-platform/DeveloperDashboard"; import ApiReference from "./pages/dev-platform/ApiReference"; import QuickStart from "./pages/dev-platform/QuickStart"; @@ -387,11 +399,23 @@ const App = () => ( } /> } /> - {/* Staff + Candidate routes → staff.aethex.tech */} - } /> - } /> - } /> - } /> + {/* Staff routes */} + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + } /> + {/* Unbuilt staff sub-pages fall back to dashboard */} + } /> + {/* Candidate routes */} + } /> + } /> + } /> + } /> {/* Dev-Link routes - now redirect to Nexus Opportunities with ecosystem filter */} } />