🎥 Make videos programmatically with React
bring back newsletter and stuff
Jonny Burger9810b8d1d633
diff --git a/packages/docs/components/LandingPage/Counter.tsx b/packages/docs/components/LandingPage/Counter.tsxindex 72071ea70b..892b7a3072 100644--- a/packages/docs/components/LandingPage/Counter.tsx+++ b/packages/docs/components/LandingPage/Counter.tsx@@ -2,13 +2,17 @@ import type { ChangeEvent, SetStateAction } from "react";import React, { useCallback } from "react";import styles from "./pricing.module.css";-const triangle = (+const Triangle: React.FC<{+ rotated: boolean;+}> = ({ rotated }) => (<svgwidth="12px"height="7px"viewBox="0 0 12 7"fill="none"- xmlns="http://www.w3.org/2000/svg"+ style={{+ transform: rotated ? "rotate(180deg)" : "rotate(0deg)",+ }}><pathd="M7.17096 0.475588C6.73198 0.0764969 6.01906 0.0764969 5.58007 0.475588L1.08483 4.56228C0.761737 4.85601 0.666915 5.29341 0.84251 5.67654C1.01811 6.05966 1.42549 6.3087 1.88203 6.3087H10.8725C11.3255 6.3087 11.7364 6.05966 11.912 5.67654C12.0876 5.29341 11.9893 4.85601 11.6697 4.56228L7.17448 0.475588H7.17096Z"@@ -24,7 +28,7 @@ const container: React.CSSProperties = {alignItems: "center",border: "1px solid #EAEAEA",borderRadius: 4,- width: 90,+ width: 110,height: 42,overflow: "hidden",};@@ -75,19 +79,17 @@ export const Counter: React.FC<{}}onClick={() => setCount((c) => Math.max(1, c + 1))}>- {triangle}+ <Triangle rotated={false} /></button><buttontype="button"style={{- transform: "rotate(180deg)",...buttonContainer,- borderRight: "1px solid #EAEAEA",- borderLeft: "none",+ borderLeft: "1px solid #EAEAEA",}}onClick={() => setCount((c) => Math.max(1, c - 1))}>- {triangle}+ <Triangle rotated /></button></div></div>diff --git a/packages/docs/components/LandingPage/Pricing.tsx b/packages/docs/components/LandingPage/Pricing.tsxindex 72bd64d26b..94b05f6852 100644--- a/packages/docs/components/LandingPage/Pricing.tsx+++ b/packages/docs/components/LandingPage/Pricing.tsx@@ -16,11 +16,40 @@ export const Pricing: React.FC = () => {<FreePricing /><CompanyPricing /><EnterpriseLicense />- <div>+ <div+ style={{+ fontFamily: "GTPlanar",+ }}+ >See our <a href="https://remotion.pro/license">FAQ</a> and{" "}<a href="https://www.remotion.pro/terms">Terms and conditions</a> formore details.</div>+ <div style={{ fontFamily: "GTPlanar" }}>+ Want a 20-minute call to evaluate if Remotion is right for you?{" "}+ <a+ style={{+ color: "var(--ifm-color-primary)",+ textDecoration: "none",+ }}+ target="_blank"+ href="https://cal.com/remotion/evaluate"+ >+ Contact us+ </a>+ </div>+ <div style={{ marginTop: 0, fontFamily: "GTPlanar" }}>+ Looking for help realizing your project?{" "}+ <a+ style={{+ color: "var(--ifm-color-primary)",+ textDecoration: "none",+ }}+ href="/experts"+ >+ Find experts+ </a>+ </div></div>);};diff --git a/packages/docs/components/LandingPage/PricingTable.tsx b/packages/docs/components/LandingPage/PricingTable.tsxindex 4712341307..300c193cde 100644--- a/packages/docs/components/LandingPage/PricingTable.tsx+++ b/packages/docs/components/LandingPage/PricingTable.tsx@@ -87,8 +87,8 @@ export const PricingTable: React.FC<{}> = () => {? "$15": "$150": period === Period.Monthly- ? "$25"- : "$250"}+ ? "$25"+ : "$250"}</div><div className={styles.perperiod}>per {period === Period.Monthly ? "month" : "year"}@@ -181,7 +181,7 @@ export const PricingTable: React.FC<{}> = () => {</div></div></div>- <p style={{ textAlign: "center", marginTop: 24 }}>+ <p style={{ marginTop: 24, fontFamily: "GTPlanar" }}>Want a 20-minute call to evaluate if Remotion is right for you?{" "}<astyle={{@@ -195,7 +195,7 @@ export const PricingTable: React.FC<{}> = () => {Contact us</a></p>- <p style={{ textAlign: "center", marginTop: 0 }}>+ <p style={{ marginTop: 0 }}>Looking for help realizing your project?{" "}<astyle={{diff --git a/packages/docs/components/LandingPage/pricing.module.css b/packages/docs/components/LandingPage/pricing.module.cssindex 07f63790ff..e46d064c69 100644--- a/packages/docs/components/LandingPage/pricing.module.css+++ b/packages/docs/components/LandingPage/pricing.module.css@@ -13,7 +13,7 @@font-family: "GTPlanar", sans-serif;font-size: 24px;font-weight: 500;- width: 44px;+ min-width: 60px;border: none;text-align: end;font-feature-settings: "ss03" on;@@ -45,6 +45,11 @@ input[type="number"]::-webkit-outer-spin-button {font-weight: 500;font-variant-numeric: tabular-nums;font-feature-settings: "ss03" on;+ min-width: 60px;+ width: auto;+ text-align: right;+ flex-shrink: 0;+ margin-left: 15px;}.boldtext {@@ -64,6 +69,10 @@ input[type="number"]::-webkit-outer-spin-button {color: #666666;min-width: 330px;font-feature-settings: "ss03" on;+ line-height: 1.2;+ margin-top: 5px;+ margin-right: 10px;+ text-wrap: balance;}.descriptionsmall {margin: 0;@@ -220,4 +229,7 @@ input[type="number"]::-webkit-outer-spin-button {margin-top: -30px;margin-bottom: 30px;}+ .description {+ font-size: 0.85em;+ }}diff --git a/packages/docs/src/pages/index.tsx b/packages/docs/src/pages/index.tsxindex ae7115627e..3f6e69108a 100644--- a/packages/docs/src/pages/index.tsx+++ b/packages/docs/src/pages/index.tsx@@ -6,6 +6,7 @@ import { VideoAppsTitle } from "../../components/LambdaSplash/VideoAppsTitle";import { BackgroundAnimation } from "../../components/LandingPage/BackgroundAnimation";import { LightningFastEditor } from "../../components/LandingPage/editor";import { IfYouKnowReact } from "../../components/LandingPage/if-you-know-react";+import { NewsletterButton } from "../../components/LandingPage/NewsletterButton";import { Parametrize } from "../../components/LandingPage/parametrize";import { Pricing } from "../../components/LandingPage/Pricing";import { RealMP4Videos } from "../../components/LandingPage/real-mp4-videos";@@ -58,6 +59,11 @@ const NewLanding: React.FC = () => {<br /><br /><Pricing />++ <NewsletterButton />+ <br />+ <br />+ <br /></div></div></Layout>