ISSUE-045 - Venetian Blinds - Working on the basic concept of the blinds filter.

Created a new workspace to test this all out in.
Offering two differing test subjects: A position flag and a driver portrait. This is useful because the images need to be treated differently compared to simple divs.
Figured out a way of tinting both divs and images: Severely offset internal outline styling with semi-opaque colors.
Moved DriverPortrait into its own component. Makes sense as portraits appear in various places. Plan to offer prop between front-facing and 3/4 facing photos (I have a collection of both).
Created a new "Position" type that can be used, with a special function, to place elements through a common prop.
This commit is contained in:
Kyle Geib committed 2022-02-04 15:24:55 -05:00
1 parent e747a7d7c3
commit 38aeedea65
19 files changed
+240 -37

No files matched your search

@@ -7,6 +7,7 @@ import { mainMenuDimensionsSelector } from "../../features/pageDimensions/pageDi
import { setDimensions } from "../../features/pageDimensions/pageDimensionsSlice";
import { FullScreenContainer } from "../Common/FullScreenContainer.styled";
import { IndexHeading } from "../Common/IndexHeading.styled";
import { WorkspaceList } from "./WorkspaceList";
import { LayoutGrid, LayoutGridItem } from "../Common/LayoutGrid.styled";
@@ -15,7 +16,8 @@ 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";
import { VenetianBlindsWorkspace } from "./CustomWorkSpaces/VenetianBlindsWorkspace";
import { VenetianBlindsPrototypeControls } from "./PrototypingControls/VenetianBlindsPrototype";
const WORKSPACE_LIST_WIDTH = 180;
@@ -78,11 +80,11 @@ export default function Workspaces() {
prototypeControls={<AngledFlagPrototypeControls flagMode="team"/>}
/>
} />
<Route path="venetianTransitionPosFlag" element={
<Route path="venetianTransition" element={
<Workspace
workspaceId="venetianTransitionPosFlag"
previewContent={null}
prototypeControls={null}
workspaceId="venetianTransition"
previewContent={<VenetianBlindsWorkspace />}
prototypeControls={<VenetianBlindsPrototypeControls />}
/>
} />
<Route path="*" element={<IndexHeading>Unknown Workspace</IndexHeading>} />