Skip to content

πŸŽ₯ Make videos programmatically with React

Update homepage and pricing table

MehmetAdemieca3d417ed69
diff --git a/packages/promo-pages/src/components/homepage/CommunityStatsItems.tsx b/packages/promo-pages/src/components/homepage/CommunityStatsItems.tsx
index 7658c719a8..5c0574314e 100644
--- a/packages/promo-pages/src/components/homepage/CommunityStatsItems.tsx
+++ b/packages/promo-pages/src/components/homepage/CommunityStatsItems.tsx
@@ -66,7 +66,7 @@ export const InstallsPerMonth: React.FC = () => {
}}
>
<StatItemContent
- content="400k"
+ content="900K"
width="100px"
fontSize="2.5rem"
fontWeight="bold"
@@ -213,7 +213,7 @@ export const DiscordMembers: React.FC = () => {
}}
>
<StatItemContent
- content="5000"
+ content="6000+"
width="142px"
fontSize="2.5rem"
fontWeight="bold"
@@ -286,7 +286,7 @@ export const Contributors: React.FC = () => {
}}
>
<StatItemContent
- content="270"
+ content="300+"
width="100px"
fontSize="2.5rem"
fontWeight="bold"
diff --git a/packages/promo-pages/src/components/homepage/EvaluateRemotion.tsx b/packages/promo-pages/src/components/homepage/EvaluateRemotion.tsx
index c6fb4742d3..2f1887d234 100644
--- a/packages/promo-pages/src/components/homepage/EvaluateRemotion.tsx
+++ b/packages/promo-pages/src/components/homepage/EvaluateRemotion.tsx
@@ -25,25 +25,37 @@ const EvaluateRemotionSection: React.FC = () => {
<div className="flex flex-col lg:flex-row gap-2">
<div className={'card flex-1 flex flex-col'}>
<div className={'fontbrand text-2xl font-bold'}>
- Evaluate Remotion for your company
+ Questions about our license?
</div>
<p className={'text-muted fontbrand leading-snug'}>
- Book a 20 minute call with us to get all your questions answered.
+ Book a 20 minute call or write us an email to get all your questions
+ answered.
</p>
<div className="flex-1" />
- <a
- target="_blank"
- href="https://cal.com/remotion/evaluate"
- style={{textDecoration: 'none'}}
- >
- <BlueButton size="sm" loading={false}>
- Schedule a call
- </BlueButton>
- </a>
+ <div className="flex flex-row flex-wrap gap-2">
+ <a
+ target="_blank"
+ href="https://cal.com/remotion/evaluate"
+ style={{textDecoration: 'none'}}
+ >
+ <BlueButton size="sm" loading={false}>
+ Schedule a call
+ </BlueButton>
+ </a>
+ <a
+ target="_blank"
+ href="mailto:[email protected]"
+ style={{textDecoration: 'none'}}
+ >
+ <BlueButton size="sm" loading={false}>
+ Write an email
+ </BlueButton>
+ </a>
+ </div>
</div>
<div className={'card flex-1 flex flex-col'}>
<div className={'fontbrand text-2xl font-bold'}>
- Get help for your projects
+ Get help with your Remotion project
</div>
<p className={'text-muted fontbrand leading-snug'}>
Contact our experts for help and work.
diff --git a/packages/promo-pages/src/components/homepage/FreePricing.tsx b/packages/promo-pages/src/components/homepage/FreePricing.tsx
index 5ce68dda32..ed6baedf8f 100644
--- a/packages/promo-pages/src/components/homepage/FreePricing.tsx
+++ b/packages/promo-pages/src/components/homepage/FreePricing.tsx
@@ -85,28 +85,28 @@ const PricingSlider: React.FC<{
border: 2px solid black;
cursor: pointer;
}
- .pricing-slider::-webkit-slider-thumb {
- -webkit-appearance: none;
- appearance: none;
- width: 24px;
- height: 24px;
- border-radius: 50%;
- background: var(--background);
- border: 2px solid black;
- border-bottom-width: 4px;
- cursor: pointer;
- scale: 1.2;
- }
- .pricing-slider::-moz-range-thumb {
- width: 24px;
- height: 24px;
- border-radius: 50%;
- background: var(--background);
- border: 2px solid black;
- border-bottom-width: 4px;
- scale: 1.2;
- cursor: pointer;
- }
+ .pricing-slider::-webkit-slider-thumb {
+ -webkit-appearance: none;
+ appearance: none;
+ width: 24px;
+ height: 24px;
+ border-radius: 50%;
+ background: white;
+ border: 2px solid black;
+ border-bottom-width: 4px;
+ cursor: pointer;
+ scale: 1.2;
+ }
+ .pricing-slider::-moz-range-thumb {
+ width: 24px;
+ height: 24px;
+ border-radius: 50%;
+ background: white;
+ border: 2px solid black;
+ border-bottom-width: 4px;
+ scale: 1.2;
+ cursor: pointer;
+ }
`}
</style>
<input
@@ -259,8 +259,8 @@ const SectionCheckbox: React.FC<{
};
export const CompanyPricing: React.FC = () => {
- const [creatorsSelected, setCreatorsSelected] = React.useState(true);
- const [automatorsSelected, setAutomatorsSelected] = React.useState(false);
+ const [creatorsSelected, setCreatorsSelected] = React.useState(false);
+ const [automatorsSelected, setAutomatorsSelected] = React.useState(true);
const [devSeatCount, setDevSeatCount] = React.useState(3);
const [cloudRenders, setCloudRenders] = React.useState(10000);
@@ -295,6 +295,8 @@ export const CompanyPricing: React.FC = () => {
const showMinimumMessage =
automatorsSelected && creatorsPrice + automatorsPrice < 100;
+ const showEnterpriseMessage = automatorsSelected && cloudRenders >= 50000;
+
return (
<Container>
<Audience>For collaborations and companies of 4+ people</Audience>
@@ -320,7 +322,10 @@ export const CompanyPricing: React.FC = () => {
>
<InfoTooltip>
Intended for low volume video creations through coding and prompting,
- and building motion design systems. Get 1 seat per user.
+ and building motion design systems in a local environment.
+ <br />
+ <br />
+ Get 1 Creator Seat per user.
</InfoTooltip>
</SectionCheckbox>
<div
@@ -371,10 +376,15 @@ export const CompanyPricing: React.FC = () => {
subtitle="Build video creation tools - $0.01 per render, $100/mo minimum"
>
<InfoTooltip>
- Intended for companies launching SaaS applications, such as video
- editors and prompt-to-video apps, and automated high-volume video
- creation.
- <br />A $100/mo minimum spend applies.
+ Intended for companies launching <br />
+ SaaS applications; such as video editors and prompt-to-video apps, and
+ automated high-volume video creation.
+ <br />
+ <br />A $100/mo Minimum Spend applies.
+ <br />
+ <br />
+ Developers working on automation projects do not require a Creator
+ Seat.
</InfoTooltip>
</SectionCheckbox>
<div
@@ -419,13 +429,19 @@ export const CompanyPricing: React.FC = () => {
<div style={{height: 14}} />
<div className={'flex flex-row justify-end'}>
<div style={{...textUnitWrapper, alignItems: 'flex-end'}}>
- <PriceTag>{totalPriceString}/mo</PriceTag>
+ <PriceTag>{totalPriceString}/month</PriceTag>
<BottomInfo
data-visible={showMinimumMessage}
className="opacity-0 data-[visible=true]:opacity-100 transition-opacity"
>
The minimum is $100 per month for Remotion for Automators
</BottomInfo>
+ <BottomInfo
+ data-visible={showEnterpriseMessage}
+ className="opacity-0 data-[visible=true]:opacity-100 transition-opacity"
+ >
+ At this render volume, you are eligible for the Enterprise License
+ </BottomInfo>
</div>
</div>
<div className={'flex flex-row justify-end mt-4'}>
diff --git a/packages/promo-pages/src/components/homepage/InfoTooltip.tsx b/packages/promo-pages/src/components/homepage/InfoTooltip.tsx
index acaba58ff6..38a79ed96d 100644
--- a/packages/promo-pages/src/components/homepage/InfoTooltip.tsx
+++ b/packages/promo-pages/src/components/homepage/InfoTooltip.tsx
@@ -17,9 +17,9 @@ export const InfoTooltip: React.FC<InfoTooltipProps> = ({children}) => {
β“˜
</span>
{isVisible && (
- <span className="absolute bottom-full left-1/2 transform -translate-x-1/2 bg-gray-800 text-white p-2 rounded text-sm z-10 cursor-default font-normal w-[300px] inline-block text-wrap">
- {children}
- <span className="absolute top-full left-1/2 transform -translate-x-1/2 border-5 border-solid border-gray-800 border-t-transparent border-r-transparent border-b-transparent border-l-transparent cursor-default" />
+ <span className="absolute bottom-full left-1/2 transform -translate-x-1/2 bg-gray-500 text-white p-2 rounded text-sm z-10 cursor-default font-normal w-[300px] inline-block text-wrap">
+ {children}
+ <span className="absolute top-full left-1/2 transform -translate-x-1/2 border-5 border-solid border-gray-500 border-t-transparent border-r-transparent border-b-transparent border-l-transparent cursor-default" />
</span>
)}
</span>