🎥 Make videos programmatically with React
newsletter button
MehmetAdemif390353f64b3
diff --git a/packages/docs/components/LandingPage/FreePricing.tsx b/packages/docs/components/LandingPage/FreePricing.tsxindex 32a0bc82c3..c9b56271d0 100644--- a/packages/docs/components/LandingPage/FreePricing.tsx+++ b/packages/docs/components/LandingPage/FreePricing.tsx@@ -1,4 +1,5 @@import React from "react";+import { NewsletterButton } from "./NewsletterButton";import styles from "./pricing.module.css";import { PricingTable } from "./PricingTable";@@ -19,6 +20,8 @@ export const FreePricing: React.FC = () => {</div><PricingTable /><br />+ <NewsletterButton />+ <br /><br /><br /></>diff --git a/packages/docs/components/LandingPage/NewsletterButton.tsx b/packages/docs/components/LandingPage/NewsletterButton.tsxnew file mode 100644index 0000000000..0d5e64ac48--- /dev/null+++ b/packages/docs/components/LandingPage/NewsletterButton.tsx@@ -0,0 +1,40 @@+import React from "react";+import { BlueButton } from "../layout/Button";+import styles from "./newsletter.module.css";++export const NewsletterButton: React.FC<{}> = () => {+ return (+ <div>+ <div className={styles.pricingrow}>+ <div className={styles.portion}>+ <div className={styles.panel}>+ <div+ className={[styles.tablenewsletter, styles.titlecolor].join(" ")}+ >+ Remotion Newsletter+ </div>+ <ul>+ <li>+ In our newsletter, we announce and summarize every once in a+ while new features and all noteworthy updates we have made on+ Remotion. Stay in the loop and join our newsletter.+ </li>+ </ul>+ <div style={{ flex: 1 }} />+ <a+ className={styles.newslettera}+ href="https://www.getrevue.co/profile/Remotion?via=twitter-profile"+ target="_blank"+ >+ <div>+ <BlueButton fullWidth loading={false} size="bg">+ Subscribe+ </BlueButton>+ </div>+ </a>+ </div>+ </div>+ </div>+ </div>+ );+};diff --git a/packages/docs/components/LandingPage/newsletter.module.css b/packages/docs/components/LandingPage/newsletter.module.cssnew file mode 100644index 0000000000..f3f5cce3ef--- /dev/null+++ b/packages/docs/components/LandingPage/newsletter.module.css@@ -0,0 +1,142 @@+.newslettertitle {+ font-size: 0.875em;+ font-weight: 700;+ line-height: 1.1;+}++.mp4 {+ color: var(--ifm-color-primary);+}++.newslettercontainer {+ text-align: center;+}++.newsletterrow {+ display: flex;+ flex-direction: row;+}++.panel {+ background-color: var(--ifm-background-color);+ box-shadow: var(--box-shadow);+ padding: 10px;+ border-radius: 15px;+ flex: 1;+ text-align: center;+ padding-top: 30px;+ padding-bottom: 10px;+ min-height: 250px;+ display: flex;+ flex-direction: column;+}+.panel ul {+ text-align: center;+ list-style-type: none;+ padding-left: 0;+}+.panel li {+ margin-top: 12px;+ margin-bottom: 12px;+ display: flex;+ color: var(--text-color);+ font-size: 0.95em;+}++.perperiod {+ font-weight: 500;+ margin-top: -7px;+ font-size: 0.9em;+}++.tablenewsletter {+ font-size: 40px;+ font-weight: 700;+ margin-top: -5px;+}++.titlecolor {+ color: #4290f5;+}++.portion {+ flex: 1;+}++.targettitle {+ border-bottom: 1px solid var(--text-color);+ font-weight: 600;+ margin-bottom: 20px;+}++.bulletcontainer {+ margin-right: 8px;+ display: inline-flex;+ justify-content: center;+ margin-top: 5px;+}++.pricinga {+ color: inherit;+}++.pricinga:hover {+ text-decoration: none;+}++.doublepanel {+ flex: 1;+ display: flex;+ flex-direction: row;+}++.doublepanelsingle {+ flex: 1;+ min-height: 400px;+}++.plus {+ height: 40px;+ width: 40px;+ border-radius: 20px;+ box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);+ display: flex;+ justify-content: center;+ align-items: center;+ border-radius: 20px;+ box-shadow: var(--box-shadow);+ margin-top: 50px;+}++.minimum {+ margin-top: -30px;+ color: var(--light-text-color);+ margin-bottom: 20px;+ font-size: 15px;+}++.plus svg {+ height: 20px;+}++@media screen and (max-width: 900px) {+ .pricingcontainer {+ text-align: left;+ }+ .pricingrow {+ flex-direction: column;+ align-items: center;+ }+ .portion {+ max-width: 500px;+ width: 100%;+ }+ .doublepanel {+ flex-direction: column;+ }+ .plus {+ margin-left: 200px;+ margin-top: -30px;+ margin-bottom: 30px;+ }+}diff --git a/packages/docs/components/LandingPage/pricing.module.css b/packages/docs/components/LandingPage/pricing.module.cssindex a3494b1db0..f819fce273 100644--- a/packages/docs/components/LandingPage/pricing.module.css+++ b/packages/docs/components/LandingPage/pricing.module.css@@ -1,5 +1,5 @@.pricingtitle {- font-size: 2.5em;+ font-size: 1.875em;font-weight: 700;line-height: 1.1;}@@ -56,16 +56,15 @@}.freeprice {- color: #4290f5;-+ color: #4290f5;}.gradientprice {- color: #79367a+ color: #79367a;}.orangeprice {- color: #fd764a;+ color: #fd764a;}.portion {@@ -124,12 +123,10 @@font-size: 15px;}-.plus svg {height: 20px;}-@media screen and (max-width: 900px) {.pricingcontainer {text-align: left;@@ -151,4 +148,3 @@margin-bottom: 30px;}}-