ISSUE-031 - Progress checkpoint.

A lot of work going on here.
* Moved WorkspaceControls component to a new sub directory
* Renamed overlay images
* Started a static ChyronDriverBasic component (using Hamilton as an example)
* Created a fancy DriverNumber rendering system
* Defined DriverNumber style for Mercedes and no one else yet
* A bunch of new states for the grid: cars, drivers, teams, etc
* Defined a bunch of data for the drivers and teams
* Created another string utility function to generate repeat strings; unit tests included
This commit is contained in:
Kyle Geib committed 2022-01-21 14:14:45 -05:00
1 parent 1c38137480
commit db14bf902f
21 files changed
+787 -41

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
import { ReactNode } from "react";
import { WorkspaceId, WorkspaceProperties } from "../../types/state";
// Broadcast Graphics
import { ChyronDriverBasic } from "../../components/BroadcastGraphics/Chyrons/Driver";
type WorkspaceObject = {
[id: WorkspaceId]: WorkspaceProperties,
};
export const workspaces: WorkspaceObject = {
chyronDriverBasic: {
name: "Chyron Driver Basic",
overlayIds: [
"chyron-driver-basic-full.png",
"chyron-driver-basic-opening-1.png",
"chyron-driver-basic-opening-2.png",
],
previewWindowDimensions: {
width: 650,
height: 200,
},
},
};
export function fetchBroadcastGraphic(workspaceId: WorkspaceId): ReactNode {
switch(workspaceId) {
case "chyronDriverBasic": return ChyronDriverBasic();
default: return null;
}
}