ISSUE-005 - Initial work commit. Have some basic routing done and some mocked-up design of how the pay may look.
Made improvements to the LayoutGrid component, supporting richer definition of grid columns and rows.
This commit is contained in:
1 parent
262aca9d73
commit
02132bdbe2
13 files changed
+122
-39
No files matched your search
@@ -0,0 +1,25 @@
|
||||
import { useSelector } from "react-redux";
|
||||
import { Outlet } from "react-router-dom";
|
||||
|
||||
import { menuSelector } from "../../features/pageDimensions/pageDimensionsSelector";
|
||||
|
||||
import { FullScreenContainer } from "../Common/FullScreenContainer.styled";
|
||||
import { WorkspaceList } from "./WorkspaceList";
|
||||
import { LayoutGrid, LayoutGridItem } from "../Common/LayoutGrid.styled";
|
||||
|
||||
export default function Workspaces() {
|
||||
const { height } = useSelector(menuSelector);
|
||||
|
||||
return (
|
||||
<FullScreenContainer minHeight={700} minWidth={900} heightCutoff={height}>
|
||||
<LayoutGrid columns={[1, 5]} rows={1}>
|
||||
<LayoutGridItem column={1} row={1}>
|
||||
<WorkspaceList />
|
||||
</LayoutGridItem>
|
||||
<LayoutGridItem column={2} row={1}>
|
||||
<Outlet />
|
||||
</LayoutGridItem>
|
||||
</LayoutGrid>
|
||||
</FullScreenContainer>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user