🎥 Make videos programmatically with React
fix responsiveness issue
Vaibhav-Vanjanib2913734aa66
diff --git a/packages/promo-pages/src/components/homepage/FreePricing.tsx b/packages/promo-pages/src/components/homepage/FreePricing.tsxindex 780e089157..8b49012d5e 100644--- a/packages/promo-pages/src/components/homepage/FreePricing.tsx+++ b/packages/promo-pages/src/components/homepage/FreePricing.tsx@@ -249,7 +249,7 @@ const SectionCheckbox: React.FC<{<divclassName={cn('fontbrand text-muted transition-opacity duration-150',- checked ? 'opacity-0' : 'opacity-100',+ checked ? 'hidden' : 'opacity-100',)}>Not selected@@ -336,21 +336,26 @@ export const CompanyPricing: React.FC = () => {: 'opacity 150ms ease-out, grid-template-rows 150ms ease-out 75ms',}}>- <div className="overflow-hidden">- <div className="flex flex-row items-center gap-4 w-full py-3">- <PricingSlider- value={devSeatCount}- onChange={setDevSeatCount}- min={1}- max={50}- />- <div className="fontbrand shrink-0 w-[135px] text-right">- {devSeatCount} {devSeatCount === 1 ? 'Seat' : 'Seats'}+ <div className="overflow-hidden py-3">+ <div className="flex flex-row items-center gap-4 w-full">+ <div className="flex flex-row items-center gap-4 w-4/7 py-3 lg:w-5/7">+ <PricingSlider+ value={devSeatCount}+ onChange={setDevSeatCount}+ min={1}+ max={50}+ /></div>- <div className="fontbrand font-bold min-w-[60px] text-right shrink-0">- {`$${new Intl.NumberFormat('en-US', {- maximumFractionDigits: 0,- }).format(SEAT_PRICE * devSeatCount)}`}+ <div className="flex flex-col items-end shrink-0 gap-2 w-3/7 lg:flex-row lg:justify-end lg:w-2/7">+ <div className="fontbrand text-right w-full">+ {devSeatCount} {devSeatCount === 1 ? 'Seat' : 'Seats'}+ </div>++ <div className="fontbrand font-bold text-right w-full">+ {`$${new Intl.NumberFormat('en-US', {+ maximumFractionDigits: 0,+ }).format(SEAT_PRICE * devSeatCount)}`}+ </div></div></div></div>@@ -385,22 +390,26 @@ export const CompanyPricing: React.FC = () => {: 'opacity 150ms ease-out, grid-template-rows 150ms ease-out 75ms',}}>- <div className="overflow-hidden">- <div className="flex flex-row items-center gap-4 w-full py-3">- <PricingSlider- value={cloudRenders}- onChange={setCloudRenders}- min={1000}- max={100000}- step={1000}- />- <div className="fontbrand shrink-0 w-[135px] text-right">- {new Intl.NumberFormat('en-US').format(cloudRenders)} Renders+ <div className="overflow-hidden py-3">+ <div className="flex flex-row items-center gap-4 w-full">+ <div className="flex flex-row items-center gap-4 w-4/7 py-3 lg:w-5/7">+ <PricingSlider+ value={cloudRenders}+ onChange={setCloudRenders}+ min={1000}+ max={100000}+ step={1000}+ /></div>- <div className="fontbrand font-bold min-w-[60px] text-right shrink-0">- {`$${new Intl.NumberFormat('en-US', {- maximumFractionDigits: 0,- }).format(Math.ceil(cloudRenders / 1000) * RENDER_UNIT_PRICE)}`}+ <div className="flex flex-col items-end shrink-0 gap-2 w-3/7 lg:flex-row lg:justify-end lg:w-2/7">+ <div className="fontbrand text-right w-full">+ {new Intl.NumberFormat('en-US').format(cloudRenders)} Renders+ </div>+ <div className="fontbrand font-bold text-right w-full">+ {`$${new Intl.NumberFormat('en-US', {+ maximumFractionDigits: 0,+ }).format(Math.ceil(cloudRenders / 1000) * RENDER_UNIT_PRICE)}`}+ </div></div></div></div>