Refactor jobs detail page to use container. Refresh detail cards on note add.

This commit is contained in:
Patrick Fic
2020-01-21 10:52:40 -08:00
parent 19c9d05dae
commit 26745f2e62
16 changed files with 220 additions and 65 deletions

View File

@@ -8,14 +8,18 @@ import HeaderContainer from "../../components/header/header.container";
import FooterComponent from "../../components/footer/footer.component";
import ErrorBoundary from "../../components/error-boundary/error-boundary.component";
import './manage.page.styles.scss'
const WhiteBoardPage = lazy(() => import("../white-board/white-board.page"));
const JobsPage = lazy(() => import("../jobs/jobs.page"));
const JobsDetailPage = lazy(() => import("../jobs-detail/jobs-detail.page"));
const JobsDetailPage = lazy(() => import("../jobs-detail/jobs-detail.page.container"));
const ProfilePage = lazy(() => import("../profile/profile.container.page"));
const JobsDocumentsPage = lazy(() =>
import("../../components/jobs-documents/jobs-documents.container")
);
const { Header, Content, Footer } = Layout;
//This page will handle all routing for the entire application.
export default function Manage({ match }) {
@@ -31,7 +35,7 @@ export default function Manage({ match }) {
<HeaderContainer />
</Header>
<Content>
<Content className="content-container">
<ErrorBoundary>
<Suspense
fallback={<div>TODO: Suspended Loading in Manage Page...</div>}>

View File

@@ -0,0 +1 @@
.content-container { overflow-y : scroll; }