diff --git a/public/index.html b/public/index.html
index aa069f2..167fa7b 100644
--- a/public/index.html
+++ b/public/index.html
@@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
-
React App
+ F1 World Broadcast Emulator Project
diff --git a/src/components/Broadcast/Layout/Layout.tsx b/src/components/Broadcast/Layout/Layout.tsx
index b518866..daaaaed 100644
--- a/src/components/Broadcast/Layout/Layout.tsx
+++ b/src/components/Broadcast/Layout/Layout.tsx
@@ -1,4 +1,5 @@
import { MockupBlock } from "../../Common/MockupBlock.styled";
+import VideoFeed from "../VideoFeed/VideoFeed";
import { LayoutGrid, LayoutGridItem } from "./styles";
type LayoutProps = {
@@ -16,9 +17,7 @@ export function Layout({ headerHeight }: LayoutProps) {
- Video Feed
+
diff --git a/src/components/Broadcast/VideoFeed/VideoFeed.tsx b/src/components/Broadcast/VideoFeed/VideoFeed.tsx
new file mode 100644
index 0000000..b6163d1
--- /dev/null
+++ b/src/components/Broadcast/VideoFeed/VideoFeed.tsx
@@ -0,0 +1,10 @@
+import { VideoFeedFrame, BackgroundImage, BackgroundImageDiv } from "./styles";
+
+import bg from "../../../public/images/misc/bg-standin.jpg";
+
+export default function VideoFeed() {
+ return
+ {/* */}
+
+ ;
+}
diff --git a/src/components/Broadcast/VideoFeed/index.ts b/src/components/Broadcast/VideoFeed/index.ts
new file mode 100644
index 0000000..25b8a2b
--- /dev/null
+++ b/src/components/Broadcast/VideoFeed/index.ts
@@ -0,0 +1 @@
+export * from "./VideoFeed";
diff --git a/src/components/Broadcast/VideoFeed/styles.ts b/src/components/Broadcast/VideoFeed/styles.ts
new file mode 100644
index 0000000..da0aa2f
--- /dev/null
+++ b/src/components/Broadcast/VideoFeed/styles.ts
@@ -0,0 +1,45 @@
+import styled, { css } from "styled-components";
+
+type VideoFeedFrameProps = {
+ centered?: boolean,
+};
+export const VideoFeedFrame = styled.div`
+ height: 100%;
+ width: 100%;
+ background-color: ${p => p.theme.colors.videoFrameBG};
+ overflow: hidden;
+
+ ${({ centered = false }) => centered && css`
+ display: flex;
+ /* flex-direction: column; */
+ align-items: center;
+ justify-content: center;
+ /* > * {
+ left: 10px;
+ } */
+ `}
+`;
+VideoFeedFrame.displayName = "VideoFeedFrame";
+
+export const BackgroundImage = styled.img`
+ height: 100%;
+ object-fit: contain;
+`;
+BackgroundImage.displayName = "BackgroundImage";
+
+/**
+ * A slight improvement to using a simple img in that we can resize the image
+ * (the video) to shrink slightly in the video feed frame if the browser window
+ * is too narrow.
+ */
+type BackgroundImageDivProps = {
+ src: string,
+}
+export const BackgroundImageDiv = styled.div`
+ height: 100%;
+ width: 100%;
+ background-image: ${({ src }) => `url("${src}")`};
+ background-size: contain;
+ background-repeat: no-repeat;
+`;
+BackgroundImageDiv.displayName = "BackgroundImageDiv";
diff --git a/src/public/images/misc/bg-standin.jpg b/src/public/images/misc/bg-standin.jpg
new file mode 100644
index 0000000..4b0d887
Binary files /dev/null and b/src/public/images/misc/bg-standin.jpg differ
diff --git a/src/routes/BroadcastRoute.tsx b/src/routes/BroadcastRoute.tsx
index 8ba84dc..b23d109 100644
--- a/src/routes/BroadcastRoute.tsx
+++ b/src/routes/BroadcastRoute.tsx
@@ -14,7 +14,7 @@ export default function Broadcast() {
});
return (
-
+
diff --git a/src/shared/theme.ts b/src/shared/theme.ts
index 2dba3c1..fabe5b5 100644
--- a/src/shared/theme.ts
+++ b/src/shared/theme.ts
@@ -10,6 +10,7 @@ export const theme = {
blue: "#387af5",
pink: "#eb57a3",
grey: "#aaa",
+ videoFrameBG: "#333",
},
};