Skip to content

🎥 Make videos programmatically with React

tweaks

Jonny Burgere9d39a871f88
diff --git a/packages/docs/components/Player/PoweredByRemotion.tsx b/packages/docs/components/Player/PoweredByRemotion.tsx
new file mode 100644
index 0000000000..9dc19548e7
--- /dev/null
+++ b/packages/docs/components/Player/PoweredByRemotion.tsx
@@ -0,0 +1,30 @@
+import React from "react";
+
+export const PoweredByRemotion: React.FC = () => {
+ return (
+ <div style={{ background: `#0B84F3` }}>
+ <div
+ style={{
+ maxWidth: 1000,
+ paddingLeft: 16,
+ paddingRight: 16,
+ margin: "auto",
+ paddingTop: 30,
+ paddingBottom: 30,
+ color: `#fff`,
+ textAlign: "center",
+ }}
+ >
+ <p style={{ marginBottom: 8 }}>
+ <strong>Powered by Remotion</strong>
+ </p>
+ <p style={{ marginBottom: 0 }}>
+ Remotion is the premier framework for writing videos in React.
+ <br />
+ Use our Timeline UI and Fast Refresh to get every frame perfect,
+ before you embed it in a website.
+ </p>
+ </div>
+ </div>
+ );
+};
diff --git a/packages/docs/docusaurus.config.js b/packages/docs/docusaurus.config.js
index 6843ef6d32..3f552bf819 100644
--- a/packages/docs/docusaurus.config.js
+++ b/packages/docs/docusaurus.config.js
@@ -55,11 +55,15 @@ module.exports = {
items: [
{
label: "Getting started",
- to: "docs/",
+ to: "/docs/",
},
{
- label: "API reference",
- to: "docs/cli",
+ label: "API Reference",
+ to: "/docs/cli",
+ },
+ {
+ label: "Player",
+ to: "/player",
},
{
label: "Changelog",
diff --git a/packages/docs/src/pages/player/index.tsx b/packages/docs/src/pages/player/index.tsx
index 5ad5ba2f4d..8e42a0e422 100644
--- a/packages/docs/src/pages/player/index.tsx
+++ b/packages/docs/src/pages/player/index.tsx
@@ -1,10 +1,13 @@
import React from "react";
import Layout from "@theme/Layout";
import { LandingHeader } from "../../../components/Player/LandingHeader";
+import { PoweredByRemotion } from "../../../components/Player/PoweredByRemotion";
const container: React.CSSProperties = {
maxWidth: 1000,
margin: "auto",
+ paddingLeft: 16,
+ paddingRight: 16,
};
export default () => {
@@ -16,6 +19,7 @@ export default () => {
<div style={container}>
<LandingHeader />
</div>
+ <PoweredByRemotion />
</Layout>
);
};