ISSUE-033 - Created a new component, <IndexHeading> that is a lightly stylized new header element for basic indexes.
I also adjusted the 404 page to now include the menu for the sake of usability.
This commit is contained in:
1 parent
218dc84507
commit
4c61a24c21
3 files changed
+13
-3
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import styled from "styled-components";
|
||||
|
||||
export const IndexHeading = styled.div`
|
||||
font-family: ${p => p.theme.fonts.f1Bold};
|
||||
font-size: 2em;
|
||||
margin: 0.2em 0.7em;
|
||||
`;
|
||||
@@ -15,6 +15,7 @@ import { ChyronPrototypeControls } from "./PrototypingControls/ChyronPrototype";
|
||||
import { AngledFlagWorkSpace } from "./CustomWorkSpaces/AngledFlagWorkSpace";
|
||||
import { AngledFlagPrototypeControls } from "./PrototypingControls/AngledFlagPrototype";
|
||||
import { ChyronContainer } from "../BroadcastGraphics/Chyrons/Container";
|
||||
import { IndexHeading } from "../Common/IndexHeading.styled";
|
||||
|
||||
const WORKSPACE_LIST_WIDTH = 180;
|
||||
|
||||
@@ -48,7 +49,7 @@ export default function Workspaces() {
|
||||
widthCutoff={WORKSPACE_LIST_WIDTH}
|
||||
>
|
||||
<Routes>
|
||||
<Route index element={<h1>Workspaces Home</h1>} />
|
||||
<Route index element={<IndexHeading>Workspaces Home</IndexHeading>} />
|
||||
<Route path="chyron" element={
|
||||
<Workspace
|
||||
workspaceId="chyron"
|
||||
|
||||
Reference in new issue
Block a user