ISSUE-054 - Initial work of building the Timing Board. Working so far only have work for the Timing Tower.
Timing Board is the combination of all elements on the left side of the screen, including the Status Indicator component (not written yet) that is visible whenever there are cars on track.
This commit is contained in:
1 parent
8bf413ba31
commit
22ebab1101
19 files changed
+521
-41
No files matched your search
@@ -18,6 +18,7 @@ import { AngledFlagPrototypeControls } from "./PrototypingControls/AngledFlagPro
|
||||
import { ChyronContainer } from "../BroadcastGraphics/Chyrons/Container";
|
||||
import { VenetianBlindsWorkspace } from "./CustomWorkSpaces/VenetianBlindsWorkspace";
|
||||
import { VenetianBlindsPrototypeControls } from "./PrototypingControls/VenetianBlindsPrototype";
|
||||
import { TimingTower } from "../BroadcastGraphics/TimingBoard/TimingTower";
|
||||
|
||||
const WORKSPACE_LIST_WIDTH = 180;
|
||||
|
||||
@@ -89,6 +90,20 @@ export default function Workspaces() {
|
||||
prototypeControls={<VenetianBlindsPrototypeControls />}
|
||||
/>
|
||||
} />
|
||||
<Route path="timingBoardFull" element={
|
||||
<Workspace
|
||||
workspaceId="timingBoardFull"
|
||||
previewContent={<TimingTower />}
|
||||
prototypeControls={<div>Timing Tower Full</div>}
|
||||
/>
|
||||
} />
|
||||
<Route path="timingBoardShort" element={
|
||||
<Workspace
|
||||
workspaceId="timingBoardShort"
|
||||
previewContent={<TimingTower carsToDisplay={6} />}
|
||||
prototypeControls={<div>Timing Tower Short</div>}
|
||||
/>
|
||||
} />
|
||||
<Route path="*" element={<IndexHeading>Unknown Workspace</IndexHeading>} />
|
||||
</Routes>
|
||||
</FullScreenContainer>
|
||||
|
||||
Reference in new issue
Block a user