🎥 Make videos programmatically with React
start new landing page
Jonny Burger050a07a95f2a
diff --git a/packages/docs/components/LandingPage/if-you-know-react.tsx b/packages/docs/components/LandingPage/if-you-know-react.tsxnew file mode 100644index 0000000000..d8f322207e--- /dev/null+++ b/packages/docs/components/LandingPage/if-you-know-react.tsx@@ -0,0 +1,52 @@+import React from "react";+import styled from "styled-components";++const Row = styled.div`+ display: flex;+ flex-direction: row;+ justify-content: flex-end;+ text-align: right;+`;++const Title = styled.h2`+ font-size: 2.5em;+ font-weight: 700;+ font-family: --apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,+ Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;+ line-height: 1.1;+ text-align: right;+`;++const Rea = styled.span`+ background: linear-gradient(to right, rgb(66, 144, 245), rgb(66, 233, 245));+ -webkit-text-fill-color: transparent;+ -webkit-background-clip: text;+`;++const Button = styled.div`+ padding: 10px 16px;+ background-color: rgb(66, 144, 245);+ display: inline-block;+ border-radius: 3px;+ color: white;+ font-weight: bold;+`;++export const IfYouKnowReact: React.FC = () => {+ return (+ <Row>+ <div>+ <Title>+ If you know <Rea>React</Rea> <br />+ you can make videos.+ </Title>+ <p>+ Remotion is a small set of utilities for video creation in React.{" "}+ <br /> The rules of React stay the same. <br />+ Learn the fundamentals in just a few minutes:+ </p>+ <Button>Learn Remotion</Button>+ </div>+ </Row>+ );+};diff --git a/packages/docs/package-lock.json b/packages/docs/package-lock.jsonindex b64b1237c1..bcdbcfcba9 100644--- a/packages/docs/package-lock.json+++ b/packages/docs/package-lock.json@@ -1,24 +1,26 @@{"name": "docs",- "version": "2.1.1",+ "version": "2.1.2","lockfileVersion": 2,"requires": true,"packages": {"": {- "version": "2.1.1",+ "version": "2.1.2","dependencies": {"@babel/plugin-transform-modules-commonjs": "^7.14.0","@docusaurus/core": "2.0.0-alpha.75","@docusaurus/preset-classic": "2.0.0-alpha.75","@mdx-js/react": "^1.6.21",- "@remotion/player": "^2.1.0",+ "@remotion/player": "^2.1.2","@splitbee/web": "^0.2.4","@types/color-namer": "^1.3.0",+ "@types/styled-components": "^5.1.9","clsx": "^1.1.1","color-namer": "1.4.0","polished": "4.1.2","prism-react-renderer": "^1.1.1",- "remotion": "^2.1.0"+ "remotion": "^2.1.2",+ "styled-components": "^5.3.0"}},"node_modules/@algolia/autocomplete-core": {@@ -1829,6 +1831,29 @@"node": ">=10"}},+ "node_modules/@emotion/is-prop-valid": {+ "version": "0.8.8",+ "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz",+ "integrity": "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==",+ "dependencies": {+ "@emotion/memoize": "0.7.4"+ }+ },+ "node_modules/@emotion/memoize": {+ "version": "0.7.4",+ "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz",+ "integrity": "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw=="+ },+ "node_modules/@emotion/stylis": {+ "version": "0.8.5",+ "resolved": "https://registry.npmjs.org/@emotion/stylis/-/stylis-0.8.5.tgz",+ "integrity": "sha512-h6KtPihKFn3T9fuIrwvXXUOwlx3rfUvfZIcP5a6rh8Y7zjE3O06hT5Ss4S/YI1AYhuZ1kjaE/5EaOOI2NqSylQ=="+ },+ "node_modules/@emotion/unitless": {+ "version": "0.7.5",+ "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.7.5.tgz",+ "integrity": "sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg=="+ },"node_modules/@endiliey/static-site-generator-webpack-plugin": {"version": "4.0.0","resolved": "https://registry.npmjs.org/@endiliey/static-site-generator-webpack-plugin/-/static-site-generator-webpack-plugin-4.0.0.tgz",@@ -1987,11 +2012,11 @@"integrity": "sha512-6RglhutqrGFMO1MNUXp95RBuYIuc8wTnMAV5MUhLmjTOy78ncwOw7RgeQ/HeymkKXRhZd0s2DNrM1rL7unk3MQ=="},"node_modules/@remotion/player": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/@remotion/player/-/player-2.1.0.tgz",- "integrity": "sha512-wW/+MgPQlkzdrU1vYQEgaCfT2wfByfgEJGJsUtEva3n4KvbBFKJp8ToqDcX2EjTVCk6H80zzJQ3B0UfOSxwEsg==",+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/@remotion/player/-/player-2.1.2.tgz",+ "integrity": "sha512-Xaa6d9BFovukeWo4HTAF5EdCGm92Jjr1WQaU8+h0aN01HWcfgPiRcS2Eabu0b/g61knmX7L4ArJV2ycGDkB2Xw==","dependencies": {- "remotion": "^2.1.0"+ "remotion": "^2.1.2"},"peerDependencies": {"react": ">=16.8.0",@@ -2368,6 +2393,15 @@"@types/unist": "*"}},+ "node_modules/@types/hoist-non-react-statics": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz",+ "integrity": "sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==",+ "dependencies": {+ "@types/react": "*",+ "hoist-non-react-statics": "^3.3.0"+ }+ },"node_modules/@types/html-minifier-terser": {"version": "5.1.1","resolved": "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-5.1.1.tgz",@@ -2406,11 +2440,26 @@"resolved": "https://registry.npmjs.org/@types/parse5/-/parse5-5.0.3.tgz","integrity": "sha512-kUNnecmtkunAoQ3CnjmMkzNU/gtxG8guhi+Fk2U/kOpIKjIMKnXGp4IJCgQJrXSgMsWYimYG4TGjz/UzbGEBTw=="},+ "node_modules/@types/prop-types": {+ "version": "15.7.3",+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.3.tgz",+ "integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw=="+ },"node_modules/@types/q": {"version": "1.5.4","resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.4.tgz","integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug=="},+ "node_modules/@types/react": {+ "version": "17.0.5",+ "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.5.tgz",+ "integrity": "sha512-bj4biDB9ZJmGAYTWSKJly6bMr4BLUiBrx9ujiJEoP9XIDY9CTaPGxE5QWN/1WjpPLzYF7/jRNnV2nNxNe970sw==",+ "dependencies": {+ "@types/prop-types": "*",+ "@types/scheduler": "*",+ "csstype": "^3.0.2"+ }+ },"node_modules/@types/sax": {"version": "1.2.1","resolved": "https://registry.npmjs.org/@types/sax/-/sax-1.2.1.tgz",@@ -2419,6 +2468,21 @@"@types/node": "*"}},+ "node_modules/@types/scheduler": {+ "version": "0.16.1",+ "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.1.tgz",+ "integrity": "sha512-EaCxbanVeyxDRTQBkdLb3Bvl/HK7PBK6UJjsSixB0iHKoWxE5uu2Q/DgtpOhPIojN0Zl1whvOd7PoHs2P0s5eA=="+ },+ "node_modules/@types/styled-components": {+ "version": "5.1.9",+ "resolved": "https://registry.npmjs.org/@types/styled-components/-/styled-components-5.1.9.tgz",+ "integrity": "sha512-kbEG6YlwK8rucITpKEr6pA4Ho9KSQHUUOzZ9lY3va1mtcjvS3D0wDciFyHEiNHKLL/npZCKDQJqm0x44sPO9oA==",+ "dependencies": {+ "@types/hoist-non-react-statics": "*",+ "@types/react": "*",+ "csstype": "^3.0.2"+ }+ },"node_modules/@types/unist": {"version": "2.0.3","resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.3.tgz",@@ -3044,6 +3108,25 @@"@babel/helper-define-polyfill-provider": "^0.2.0"}},+ "node_modules/babel-plugin-styled-components": {+ "version": "1.12.0",+ "resolved": "https://registry.npmjs.org/babel-plugin-styled-components/-/babel-plugin-styled-components-1.12.0.tgz",+ "integrity": "sha512-FEiD7l5ZABdJPpLssKXjBUJMYqzbcNzBowfXDCdJhOpbhWiewapUaY+LZGT8R4Jg2TwOjGjG4RKeyrO5p9sBkA==",+ "dependencies": {+ "@babel/helper-annotate-as-pure": "^7.0.0",+ "@babel/helper-module-imports": "^7.0.0",+ "babel-plugin-syntax-jsx": "^6.18.0",+ "lodash": "^4.17.11"+ },+ "peerDependencies": {+ "styled-components": ">= 2"+ }+ },+ "node_modules/babel-plugin-syntax-jsx": {+ "version": "6.18.0",+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz",+ "integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY="+ },"node_modules/bail": {"version": "1.0.5","resolved": "https://registry.npmjs.org/bail/-/bail-1.0.5.tgz",@@ -3384,6 +3467,11 @@"node": ">= 6"}},+ "node_modules/camelize": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/camelize/-/camelize-1.0.0.tgz",+ "integrity": "sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs="+ },"node_modules/caniuse-api": {"version": "3.0.0","resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz",@@ -4097,6 +4185,14 @@"node": ">=8"}},+ "node_modules/css-color-keywords": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/css-color-keywords/-/css-color-keywords-1.0.0.tgz",+ "integrity": "sha1-/qJhbcZ2spYmhrOvjb2+GAskTgU=",+ "engines": {+ "node": ">=4"+ }+ },"node_modules/css-color-names": {"version": "1.0.1","resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-1.0.1.tgz",@@ -4179,6 +4275,16 @@"resolved": "https://registry.npmjs.org/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz","integrity": "sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w=="},+ "node_modules/css-to-react-native": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/css-to-react-native/-/css-to-react-native-3.0.0.tgz",+ "integrity": "sha512-Ro1yETZA813eoyUp2GDBhG2j+YggidUmzO1/v9eYBKR2EHVEniE2MI/NqpTQ954BMpTPZFsGNPm46qFB9dpaPQ==",+ "dependencies": {+ "camelize": "^1.0.0",+ "css-color-keywords": "^1.0.0",+ "postcss-value-parser": "^4.0.2"+ }+ },"node_modules/css-tree": {"version": "1.1.3","resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz",@@ -4305,6 +4411,11 @@"node": ">=8.0.0"}},+ "node_modules/csstype": {+ "version": "3.0.8",+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.8.tgz",+ "integrity": "sha512-jXKhWqXPmlUeoQnF/EhTtTl4C9SnrxSH/jZUih3jmO6lBKr99rP3/+FmrMj4EFpOXzMtXHAZkd3x0E6h6Fgflw=="+ },"node_modules/d": {"version": "1.0.1","resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",@@ -9406,6 +9517,19 @@"rc": "cli.js"}},+ "node_modules/react": {+ "version": "17.0.2",+ "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz",+ "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==",+ "peer": true,+ "dependencies": {+ "loose-envify": "^1.1.0",+ "object-assign": "^4.1.1"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },"node_modules/react-base16-styling": {"version": "0.6.0","resolved": "https://registry.npmjs.org/react-base16-styling/-/react-base16-styling-0.6.0.tgz",@@ -9562,6 +9686,20 @@"node": ">= 6"}},+ "node_modules/react-dom": {+ "version": "17.0.2",+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz",+ "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==",+ "peer": true,+ "dependencies": {+ "loose-envify": "^1.1.0",+ "object-assign": "^4.1.1",+ "scheduler": "^0.20.2"+ },+ "peerDependencies": {+ "react": "17.0.2"+ }+ },"node_modules/react-error-overlay": {"version": "6.0.9","resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.9.tgz",@@ -10069,9 +10207,9 @@}},"node_modules/remotion": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/remotion/-/remotion-2.1.0.tgz",- "integrity": "sha512-q5WJvD0EcyDdE7QI8IdR9+zrjfX5ig7R0zJgQgAiIptbSDDuj2Md+g3onzmY5GW6BVf0eOtHg9OGpEuT6NydMg==",+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/remotion/-/remotion-2.1.2.tgz",+ "integrity": "sha512-AWeoBuSM/pP5C/S/OMWEZE+84qtcFYzshyD3vk7k2eRJaKQxVYduVmu5wMIPH6AWg09eAoNhr9FuPqFyhsiEYA==","peerDependencies": {"react": "^17.0.1","react-dom": "^17.0.1"@@ -10430,6 +10568,16 @@"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz","integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw=="},+ "node_modules/scheduler": {+ "version": "0.20.2",+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz",+ "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==",+ "peer": true,+ "dependencies": {+ "loose-envify": "^1.1.0",+ "object-assign": "^4.1.1"+ }+ },"node_modules/schema-utils": {"version": "3.0.0","resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",@@ -10727,6 +10875,11 @@"node": ">=8"}},+ "node_modules/shallowequal": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz",+ "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ=="+ },"node_modules/shebang-command": {"version": "2.0.0","resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",@@ -11301,6 +11454,35 @@"inline-style-parser": "0.1.1"}},+ "node_modules/styled-components": {+ "version": "5.3.0",+ "resolved": "https://registry.npmjs.org/styled-components/-/styled-components-5.3.0.tgz",+ "integrity": "sha512-bPJKwZCHjJPf/hwTJl6TbkSZg/3evha+XPEizrZUGb535jLImwDUdjTNxXqjjaASt2M4qO4AVfoHJNe3XB/tpQ==",+ "dependencies": {+ "@babel/helper-module-imports": "^7.0.0",+ "@babel/traverse": "^7.4.5",+ "@emotion/is-prop-valid": "^0.8.8",+ "@emotion/stylis": "^0.8.4",+ "@emotion/unitless": "^0.7.4",+ "babel-plugin-styled-components": ">= 1.12.0",+ "css-to-react-native": "^3.0.0",+ "hoist-non-react-statics": "^3.0.0",+ "shallowequal": "^1.1.0",+ "supports-color": "^5.5.0"+ },+ "engines": {+ "node": ">=10"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/styled-components"+ },+ "peerDependencies": {+ "react": ">= 16.8.0",+ "react-dom": ">= 16.8.0",+ "react-is": ">= 16.8.0"+ }+ },"node_modules/stylehacks": {"version": "5.0.0","resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-5.0.0.tgz",@@ -14765,6 +14947,29 @@"tslib": "^2.1.0"}},+ "@emotion/is-prop-valid": {+ "version": "0.8.8",+ "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz",+ "integrity": "sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==",+ "requires": {+ "@emotion/memoize": "0.7.4"+ }+ },+ "@emotion/memoize": {+ "version": "0.7.4",+ "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz",+ "integrity": "sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw=="+ },+ "@emotion/stylis": {+ "version": "0.8.5",+ "resolved": "https://registry.npmjs.org/@emotion/stylis/-/stylis-0.8.5.tgz",+ "integrity": "sha512-h6KtPihKFn3T9fuIrwvXXUOwlx3rfUvfZIcP5a6rh8Y7zjE3O06hT5Ss4S/YI1AYhuZ1kjaE/5EaOOI2NqSylQ=="+ },+ "@emotion/unitless": {+ "version": "0.7.5",+ "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.7.5.tgz",+ "integrity": "sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg=="+ },"@endiliey/static-site-generator-webpack-plugin": {"version": "4.0.0","resolved": "https://registry.npmjs.org/@endiliey/static-site-generator-webpack-plugin/-/static-site-generator-webpack-plugin-4.0.0.tgz",@@ -14909,11 +15114,11 @@"integrity": "sha512-6RglhutqrGFMO1MNUXp95RBuYIuc8wTnMAV5MUhLmjTOy78ncwOw7RgeQ/HeymkKXRhZd0s2DNrM1rL7unk3MQ=="},"@remotion/player": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/@remotion/player/-/player-2.1.0.tgz",- "integrity": "sha512-wW/+MgPQlkzdrU1vYQEgaCfT2wfByfgEJGJsUtEva3n4KvbBFKJp8ToqDcX2EjTVCk6H80zzJQ3B0UfOSxwEsg==",+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/@remotion/player/-/player-2.1.2.tgz",+ "integrity": "sha512-Xaa6d9BFovukeWo4HTAF5EdCGm92Jjr1WQaU8+h0aN01HWcfgPiRcS2Eabu0b/g61knmX7L4ArJV2ycGDkB2Xw==","requires": {- "remotion": "^2.1.0"+ "remotion": "^2.1.2"}},"@sideway/address": {@@ -15221,6 +15426,15 @@"@types/unist": "*"}},+ "@types/hoist-non-react-statics": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz",+ "integrity": "sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==",+ "requires": {+ "@types/react": "*",+ "hoist-non-react-statics": "^3.3.0"+ }+ },"@types/html-minifier-terser": {"version": "5.1.1","resolved": "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-5.1.1.tgz",@@ -15259,11 +15473,26 @@"resolved": "https://registry.npmjs.org/@types/parse5/-/parse5-5.0.3.tgz","integrity": "sha512-kUNnecmtkunAoQ3CnjmMkzNU/gtxG8guhi+Fk2U/kOpIKjIMKnXGp4IJCgQJrXSgMsWYimYG4TGjz/UzbGEBTw=="},+ "@types/prop-types": {+ "version": "15.7.3",+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.3.tgz",+ "integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw=="+ },"@types/q": {"version": "1.5.4","resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.4.tgz","integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug=="},+ "@types/react": {+ "version": "17.0.5",+ "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.5.tgz",+ "integrity": "sha512-bj4biDB9ZJmGAYTWSKJly6bMr4BLUiBrx9ujiJEoP9XIDY9CTaPGxE5QWN/1WjpPLzYF7/jRNnV2nNxNe970sw==",+ "requires": {+ "@types/prop-types": "*",+ "@types/scheduler": "*",+ "csstype": "^3.0.2"+ }+ },"@types/sax": {"version": "1.2.1","resolved": "https://registry.npmjs.org/@types/sax/-/sax-1.2.1.tgz",@@ -15272,6 +15501,21 @@"@types/node": "*"}},+ "@types/scheduler": {+ "version": "0.16.1",+ "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.1.tgz",+ "integrity": "sha512-EaCxbanVeyxDRTQBkdLb3Bvl/HK7PBK6UJjsSixB0iHKoWxE5uu2Q/DgtpOhPIojN0Zl1whvOd7PoHs2P0s5eA=="+ },+ "@types/styled-components": {+ "version": "5.1.9",+ "resolved": "https://registry.npmjs.org/@types/styled-components/-/styled-components-5.1.9.tgz",+ "integrity": "sha512-kbEG6YlwK8rucITpKEr6pA4Ho9KSQHUUOzZ9lY3va1mtcjvS3D0wDciFyHEiNHKLL/npZCKDQJqm0x44sPO9oA==",+ "requires": {+ "@types/hoist-non-react-statics": "*",+ "@types/react": "*",+ "csstype": "^3.0.2"+ }+ },"@types/unist": {"version": "2.0.3","resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.3.tgz",@@ -15809,6 +16053,22 @@"@babel/helper-define-polyfill-provider": "^0.2.0"}},+ "babel-plugin-styled-components": {+ "version": "1.12.0",+ "resolved": "https://registry.npmjs.org/babel-plugin-styled-components/-/babel-plugin-styled-components-1.12.0.tgz",+ "integrity": "sha512-FEiD7l5ZABdJPpLssKXjBUJMYqzbcNzBowfXDCdJhOpbhWiewapUaY+LZGT8R4Jg2TwOjGjG4RKeyrO5p9sBkA==",+ "requires": {+ "@babel/helper-annotate-as-pure": "^7.0.0",+ "@babel/helper-module-imports": "^7.0.0",+ "babel-plugin-syntax-jsx": "^6.18.0",+ "lodash": "^4.17.11"+ }+ },+ "babel-plugin-syntax-jsx": {+ "version": "6.18.0",+ "resolved": "https://registry.npmjs.org/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz",+ "integrity": "sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY="+ },"bail": {"version": "1.0.5","resolved": "https://registry.npmjs.org/bail/-/bail-1.0.5.tgz",@@ -16097,6 +16357,11 @@"resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz","integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA=="},+ "camelize": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/camelize/-/camelize-1.0.0.tgz",+ "integrity": "sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs="+ },"caniuse-api": {"version": "3.0.0","resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz",@@ -16702,6 +16967,11 @@"resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz","integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA=="},+ "css-color-keywords": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/css-color-keywords/-/css-color-keywords-1.0.0.tgz",+ "integrity": "sha1-/qJhbcZ2spYmhrOvjb2+GAskTgU="+ },"css-color-names": {"version": "1.0.1","resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-1.0.1.tgz",@@ -16771,6 +17041,16 @@"resolved": "https://registry.npmjs.org/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz","integrity": "sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w=="},+ "css-to-react-native": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/css-to-react-native/-/css-to-react-native-3.0.0.tgz",+ "integrity": "sha512-Ro1yETZA813eoyUp2GDBhG2j+YggidUmzO1/v9eYBKR2EHVEniE2MI/NqpTQ954BMpTPZFsGNPm46qFB9dpaPQ==",+ "requires": {+ "camelize": "^1.0.0",+ "css-color-keywords": "^1.0.0",+ "postcss-value-parser": "^4.0.2"+ }+ },"css-tree": {"version": "1.1.3","resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz",@@ -16869,6 +17149,11 @@"css-tree": "^1.1.2"}},+ "csstype": {+ "version": "3.0.8",+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.8.tgz",+ "integrity": "sha512-jXKhWqXPmlUeoQnF/EhTtTl4C9SnrxSH/jZUih3jmO6lBKr99rP3/+FmrMj4EFpOXzMtXHAZkd3x0E6h6Fgflw=="+ },"d": {"version": "1.0.1","resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",@@ -21009,6 +21294,16 @@"strip-json-comments": "~2.0.1"}},+ "react": {+ "version": "17.0.2",+ "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz",+ "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==",+ "peer": true,+ "requires": {+ "loose-envify": "^1.1.0",+ "object-assign": "^4.1.1"+ }+ },"react-base16-styling": {"version": "0.6.0","resolved": "https://registry.npmjs.org/react-base16-styling/-/react-base16-styling-0.6.0.tgz",@@ -21138,6 +21433,17 @@}}},+ "react-dom": {+ "version": "17.0.2",+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz",+ "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==",+ "peer": true,+ "requires": {+ "loose-envify": "^1.1.0",+ "object-assign": "^4.1.1",+ "scheduler": "^0.20.2"+ }+ },"react-error-overlay": {"version": "6.0.9","resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.9.tgz",@@ -21600,9 +21906,10 @@}},"remotion": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/remotion/-/remotion-2.1.0.tgz",- "integrity": "sha512-q5WJvD0EcyDdE7QI8IdR9+zrjfX5ig7R0zJgQgAiIptbSDDuj2Md+g3onzmY5GW6BVf0eOtHg9OGpEuT6NydMg=="+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/remotion/-/remotion-2.1.2.tgz",+ "integrity": "sha512-AWeoBuSM/pP5C/S/OMWEZE+84qtcFYzshyD3vk7k2eRJaKQxVYduVmu5wMIPH6AWg09eAoNhr9FuPqFyhsiEYA==",+ "requires": {}},"remove-trailing-separator": {"version": "1.1.0",@@ -21900,6 +22207,16 @@"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz","integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw=="},+ "scheduler": {+ "version": "0.20.2",+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz",+ "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==",+ "peer": true,+ "requires": {+ "loose-envify": "^1.1.0",+ "object-assign": "^4.1.1"+ }+ },"schema-utils": {"version": "3.0.0","resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",@@ -22156,6 +22473,11 @@"kind-of": "^6.0.2"}},+ "shallowequal": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz",+ "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ=="+ },"shebang-command": {"version": "2.0.0","resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",@@ -22636,6 +22958,23 @@"inline-style-parser": "0.1.1"}},+ "styled-components": {+ "version": "5.3.0",+ "resolved": "https://registry.npmjs.org/styled-components/-/styled-components-5.3.0.tgz",+ "integrity": "sha512-bPJKwZCHjJPf/hwTJl6TbkSZg/3evha+XPEizrZUGb535jLImwDUdjTNxXqjjaASt2M4qO4AVfoHJNe3XB/tpQ==",+ "requires": {+ "@babel/helper-module-imports": "^7.0.0",+ "@babel/traverse": "^7.4.5",+ "@emotion/is-prop-valid": "^0.8.8",+ "@emotion/stylis": "^0.8.4",+ "@emotion/unitless": "^0.7.4",+ "babel-plugin-styled-components": ">= 1.12.0",+ "css-to-react-native": "^3.0.0",+ "hoist-non-react-statics": "^3.0.0",+ "shallowequal": "^1.1.0",+ "supports-color": "^5.5.0"+ }+ },"stylehacks": {"version": "5.0.0","resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-5.0.0.tgz",diff --git a/packages/docs/package.json b/packages/docs/package.jsonindex be8180c01e..95ce1c3b9a 100644--- a/packages/docs/package.json+++ b/packages/docs/package.json@@ -19,11 +19,13 @@"@remotion/player": "^2.1.2","@splitbee/web": "^0.2.4","@types/color-namer": "^1.3.0",+ "@types/styled-components": "^5.1.9","clsx": "^1.1.1","color-namer": "1.4.0","polished": "4.1.2","prism-react-renderer": "^1.1.1",- "remotion": "^2.1.2"+ "remotion": "^2.1.2",+ "styled-components": "^5.3.0"},"browserslist": {"production": [diff --git a/packages/docs/src/pages/index.tsx b/packages/docs/src/pages/index.tsxindex 5837630f76..6c46167118 100644--- a/packages/docs/src/pages/index.tsx+++ b/packages/docs/src/pages/index.tsx@@ -8,6 +8,7 @@ import clsx from "clsx";import React, { useState } from "react";import headerStyles from "./header.module.css";import styles from "./styles.module.css";+setTimeout(() => {splitbee.init();}, 100);diff --git a/packages/docs/src/pages/new-landing.tsx b/packages/docs/src/pages/new-landing.tsxnew file mode 100644index 0000000000..a6788047f9--- /dev/null+++ b/packages/docs/src/pages/new-landing.tsx@@ -0,0 +1,49 @@+import Layout from "@theme/Layout";+import React from "react";+import styled from "styled-components";+import { IfYouKnowReact } from "../../components/LandingPage/if-you-know-react";++const Title = styled.h1`+ font-size: 5em;+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,+ Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;+ font-weight: 700;+ line-height: 1;+ -webkit-text-fill-color: transparent;+ background: linear-gradient(to right, #000, #444);+ -webkit-background-clip: text;+ width: 500px;+`;++const Content = styled.div`+ max-width: 1000px;+ margin: auto;+ padding-top: 10vh;+`;++const NewLanding: React.FC = () => {+ return (+ <Layout+ title="Write videos in React"+ description="Create MP4 motion graphics in React. Leverage CSS, SVG, WebGL and more technologies to render videos programmatically!"+ >+ <Content>+ <Title>+ Write videos <br /> in React.+ </Title>+ <p>+ Use your React knowledge to create real MP4 videos. <br /> Scale your+ video production using server-side rendering and parametrization.+ </p>+ <br />+ <br />+ <br />+ <br />+ <br />+ <IfYouKnowReact></IfYouKnowReact>+ </Content>+ </Layout>+ );+};++export default NewLanding;