ISSUE-005 - Implemented a PreviewWindow component. Improvements to the way that the workspaces are generated. Using mock components.
This commit is contained in:
1 parent
5dcc3f3940
commit
ab4c8eefa6
9 files changed
+109
-9
No files matched your search
@@ -2,15 +2,14 @@ import { WorkspaceListBox } from "./styles";
|
||||
import { Stack } from "@bedrock-layout/stack";
|
||||
import { NavLink } from "react-router-dom";
|
||||
import { MenuItem } from "../../Common/MenuItem.styled";
|
||||
import { workspaceList } from "../workspaces";
|
||||
|
||||
export const WorkspaceList = () => (
|
||||
<WorkspaceListBox>
|
||||
<Stack as="ul" gutter="md">
|
||||
<WorkspaceListNavLink to="workspace1" label="Workspace 1" />
|
||||
<WorkspaceListNavLink to="workspace2" label="Workspace 2" />
|
||||
<WorkspaceListNavLink to="workspace3" label="Workspace 3" />
|
||||
<WorkspaceListNavLink to="workspace4" label="Workspace 4" />
|
||||
<WorkspaceListNavLink to="workspace5" label="Workspace 5 is longer than the rest" />
|
||||
{workspaceList.map((workspace, i) => (
|
||||
<WorkspaceListNavLink key={i} to={workspace.id} label={workspace.name} />
|
||||
))}
|
||||
</Stack>
|
||||
</WorkspaceListBox>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user