🎥 Make videos programmatically with React
announce price increase
Jonny Burger2b6d67aa41ec
diff --git a/packages/docs/components/LandingPage/PricingTable.tsx b/packages/docs/components/LandingPage/PricingTable.tsxindex cbdccef752..e5108b66e0 100644--- a/packages/docs/components/LandingPage/PricingTable.tsx+++ b/packages/docs/components/LandingPage/PricingTable.tsx@@ -3,6 +3,7 @@ import { BlueButton } from "../layout/Button";import { Spacer } from "../layout/Spacer";import { PeriodSelector } from "../PeriodSelector";import { Triangle } from "../Triangle";+import { DEV_SEAT_PRICE_INCREASE } from "./price-increase";import styles from "./pricing.module.css";enum Period {@@ -73,7 +74,13 @@ export const PricingTable: React.FC<{}> = () => {" ")}>- {period === Period.Monthly ? "$25" : "$250"}+ {Date.now() < DEV_SEAT_PRICE_INCREASE+ ? period === Period.Monthly+ ? "$15"+ : "$150"+ : period === Period.Monthly+ ? "$25"+ : "$250"}</div><div className={styles.perperiod}>per {period === Period.Monthly ? "month" : "year"}@@ -137,10 +144,12 @@ export const PricingTable: React.FC<{}> = () => {</ul></div></div>- <div className={styles.minimum}>- Minimum plan amount:{" "}- {period === Period.Monthly ? "$100/month" : "$1000/year"}- </div>+ {Date.now() > DEV_SEAT_PRICE_INCREASE ? (+ <div className={styles.minimum}>+ Minimum plan amount:{" "}+ {period === Period.Monthly ? "$100/month" : "$1000/year"}+ </div>+ ) : null}<aclassName={styles.pricinga}href="https://companies.remotion.dev"@@ -158,6 +167,26 @@ export const PricingTable: React.FC<{}> = () => {</div></div></div>+ {Date.now() < DEV_SEAT_PRICE_INCREASE ? (+ <p style={{ textAlign: "center", marginTop: 24 }}>+ Subscribe before{" "}+ {new Intl.DateTimeFormat("en-US", {+ dateStyle: "full",+ }).format(DEV_SEAT_PRICE_INCREASE)}{" "}+ to lock in current prices -{" "}+ <a href="https://companies.remotion.dev/price-increase">+ <strong+ style={{+ color: "var(--blue-button-color)",+ fontWeight: "bold",+ textDecoration: "none",+ }}+ >+ prices are increasing!+ </strong>+ </a>+ </p>+ ) : null}<p style={{ textAlign: "center", marginTop: 24 }}>Want a 15 minute call to evaluate if Remotion is right for you?{" "}<adiff --git a/packages/docs/components/LandingPage/price-increase.ts b/packages/docs/components/LandingPage/price-increase.tsnew file mode 100644index 0000000000..a2ae876522--- /dev/null+++ b/packages/docs/components/LandingPage/price-increase.ts@@ -0,0 +1,2 @@+// September 15th 2022+export const DEV_SEAT_PRICE_INCREASE = 1663200000000;