Skip to content

🎥 Make videos programmatically with React

tweak styles

Jonny Burger233dc098e921
diff --git a/packages/docs/components/LambdaSplash/BuildApps.tsx b/packages/docs/components/LambdaSplash/BuildApps.tsx
index 5fb0808235..d50a82336d 100644
--- a/packages/docs/components/LambdaSplash/BuildApps.tsx
+++ b/packages/docs/components/LambdaSplash/BuildApps.tsx
@@ -106,6 +106,8 @@ export const BuildApps: React.FC = () => {
<div style={step}>
<h2 style={stepTitle}>Remotion Player</h2>
<strong style={center}>Embeddable interactive videos</strong>
+ <br />
+ <video src="/img/writeinreact.mp4" muted playsInline loop />
<ul style={list}>
<li>Preview videos in the browser</li>
<hr style={hr} />
@@ -139,12 +141,14 @@ export const BuildApps: React.FC = () => {
<div style={step}>
<h2 style={stepTitle}>Remotion Lambda</h2>
<strong style={center}> Render at scale</strong>
+ <br />
+ <video src="/img/writeinreact.mp4" muted playsInline loop />
<ul style={list}>
<li>Render videos in the cloud</li>
<hr style={hr} />
- <li>Lorem ipsum</li>
+ <li>Scale according to your volume</li>
<hr style={hr} />
- <li>Lorem ipsum</li>
+ <li>Fast because distributed</li>
</ul>
<div style={{ flex: 1 }} />
<div style={row}>
diff --git a/packages/docs/components/Player/LandingHeader.tsx b/packages/docs/components/Player/LandingHeader.tsx
index f11e4f0958..17b0a4d438 100644
--- a/packages/docs/components/Player/LandingHeader.tsx
+++ b/packages/docs/components/Player/LandingHeader.tsx
@@ -3,11 +3,19 @@ import { BlueButton } from "../layout/Button";
import styles from "./landing.module.css";
import { useColorMode } from "@docusaurus/theme-common";
+const logo: React.CSSProperties = {
+ fontWeight: "bold",
+ fontSize: 20,
+ color: "var(--ifm-color-primary)",
+ marginTop: "5vh",
+};
+
export const LandingHeader: React.FC = () => {
const { colorMode } = useColorMode();
return (
<div className={styles.container}>
+ <div style={logo}>@remotion/player</div>
<h1 className={styles.title}>
Dynamic embedded
<br />
diff --git a/packages/docs/components/Player/landing.module.css b/packages/docs/components/Player/landing.module.css
index b3906bd237..c2f79b634e 100644
--- a/packages/docs/components/Player/landing.module.css
+++ b/packages/docs/components/Player/landing.module.css
@@ -9,7 +9,6 @@
text-align: center;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
- margin-top: 5vh;
font-weight: 700;
line-height: 1.2;
-webkit-text-fill-color: transparent;