NAVIGATION_REFACTOR COMPLETED

This commit is contained in:
IGNY8 VPS (Salman)
2026-01-17 03:49:50 +00:00
parent 47a00e8875
commit 501a269450
29 changed files with 3839 additions and 2103 deletions

View File

@@ -48,6 +48,8 @@ const Approved = lazy(() => import("./pages/Writer/Approved"));
// Automation Module - Lazy loaded
const AutomationPage = lazy(() => import("./pages/Automation/AutomationPage"));
const AutomationOverview = lazy(() => import("./pages/Automation/AutomationOverview"));
const PipelineSettings = lazy(() => import("./pages/Automation/PipelineSettings"));
// Linker Module - Lazy loaded
const LinkerContentList = lazy(() => import("./pages/Linker/ContentList"));
@@ -110,6 +112,7 @@ const DeploymentPanel = lazy(() => import("./pages/Sites/DeploymentPanel"));
// Publisher Module - Lazy loaded
const ContentCalendar = lazy(() => import("./pages/Publisher/ContentCalendar"));
const PublishSettings = lazy(() => import("./pages/Publisher/PublishSettings"));
// Setup - Lazy loaded
const SetupWizard = lazy(() => import("./pages/Setup/SetupWizard"));
@@ -193,11 +196,15 @@ export default function App() {
<Route path="/writer/published" element={<Navigate to="/writer/approved" replace />} />
{/* Automation Module */}
<Route path="/automation" element={<AutomationPage />} />
<Route path="/automation" element={<Navigate to="/automation/overview" replace />} />
<Route path="/automation/overview" element={<AutomationOverview />} />
<Route path="/automation/settings" element={<PipelineSettings />} />
<Route path="/automation/run" element={<AutomationPage />} />
{/* Publisher Module - Content Calendar */}
{/* Publisher Module - Content Calendar & Settings */}
<Route path="/publisher" element={<Navigate to="/publisher/content-calendar" replace />} />
<Route path="/publisher/content-calendar" element={<ContentCalendar />} />
<Route path="/publisher/settings" element={<PublishSettings />} />
{/* Linker Module - Redirect dashboard to content */}
<Route path="/linker" element={<Navigate to="/linker/content" replace />} />