NAVIGATION_REFACTOR COMPLETED
This commit is contained in:
@@ -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 />} />
|
||||
|
||||
Reference in New Issue
Block a user