feat: wire reports and import pages into the app
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,8 @@ import { SectionPlaceholder } from './SectionPlaceholder';
|
|||||||
import { HubPage } from '../pages/hub/HubPage';
|
import { HubPage } from '../pages/hub/HubPage';
|
||||||
import { ResourcesPage } from '../pages/resources/ResourcesPage';
|
import { ResourcesPage } from '../pages/resources/ResourcesPage';
|
||||||
import { BinderPage } from '../pages/binder/BinderPage';
|
import { BinderPage } from '../pages/binder/BinderPage';
|
||||||
|
import { ReportsPage } from '../pages/reports/ReportsPage';
|
||||||
|
import { ImportWorksPage } from '../pages/import/ImportWorksPage';
|
||||||
|
|
||||||
/** Показывает страницу текущего раздела. Разделы подключаются сюда по мере переноса. */
|
/** Показывает страницу текущего раздела. Разделы подключаются сюда по мере переноса. */
|
||||||
export const PageOutlet: React.FC = () => {
|
export const PageOutlet: React.FC = () => {
|
||||||
@@ -16,6 +18,10 @@ export const PageOutlet: React.FC = () => {
|
|||||||
return <ResourcesPage />;
|
return <ResourcesPage />;
|
||||||
case 'binder':
|
case 'binder':
|
||||||
return <BinderPage />;
|
return <BinderPage />;
|
||||||
|
case 'reports':
|
||||||
|
return <ReportsPage />;
|
||||||
|
case 'import':
|
||||||
|
return <ImportWorksPage />;
|
||||||
default:
|
default:
|
||||||
return <SectionPlaceholder />;
|
return <SectionPlaceholder />;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user