@@ -173,9 +173,8 @@ def _render_messaging_section(title: str) -> rx.Component:
173173 """Render the messaging/features section for each plan."""
174174 messaging_config = {
175175 "Hobby" : {
176- "main" : "Reflex Build 5 msgs/day" ,
177- "sub" : rx .link ("Monthly cap 30 messages" , href = "#reflex-build" ,
178- class_name = "text-xs text-slate-9 hover:text-slate-11 underline" )
176+ "main" : "" ,
177+ "sub" : None
179178 },
180179 "Pro" : {
181180 "main" : "Reflex Build 100 msgs/month" ,
@@ -198,12 +197,9 @@ def _render_messaging_section(title: str) -> rx.Component:
198197 config = messaging_config [title ]
199198 return rx .el .div (
200199 rx .el .p (config ["main" ], class_name = "text-md font-semibold text-slate-12 mt-4" ),
201- rx .el .p (config ["sub" ]) if title == "Hobby" else config ["sub" ],
202- class_name = "mt-4"
200+ config ["sub" ] if config ["sub" ] else None ,
203201 )
204- else :
205- # Default spacing for plans without messaging section
206- return rx .el .div (class_name = "h-[3.5rem]" )
202+ return rx .el .div ()
207203
208204
209205def _get_features_header (title : str ) -> str :
@@ -280,7 +276,7 @@ def card(
280276 _render_feature_list (features ),
281277 ),
282278
283- class_name = "flex flex-col p-6 border border-slate-4 rounded-lg shadow-small bg-slate-2 w-full min-w-0 overflow-hidden h-[42rem]" ,
279+ class_name = "flex flex-col p-6 border border-slate-4 rounded-lg shadow-small bg-slate-2 w-full min-w-0 max-w-md w-[28rem] overflow-hidden h-[42rem]" ,
284280 )
285281
286282
@@ -295,7 +291,7 @@ def popular_card(
295291 return rx .box (
296292 # Popular Badge
297293 rx .box (
298- "Most Popular " ,
294+ "1 Month Free Trial " ,
299295 class_name = "absolute top-[-0.75rem] left-8 rounded-md bg-[--violet-9] h-[1.5rem] text-sm font-medium text-center px-2 flex items-center justify-center text-[#FCFCFD] z-[10]" ,
300296 ),
301297
@@ -316,7 +312,7 @@ def popular_card(
316312 size = "lg" ,
317313 class_name = "w-full mb-6 !text-sm !font-semibold" ,
318314 ),
319- href = f" { REFLEX_CLOUD_URL } /?redirect_url= { REFLEX_CLOUD_URL } /billing/" ,
315+ href = REFLEX_DEV_WEB_LANDING_FORM_URL_GET_DEMO ,
320316 is_external = True ,
321317 underline = "none" ,
322318 ),
@@ -338,10 +334,10 @@ def popular_card(
338334 _render_feature_list (features ),
339335 ),
340336
341- class_name = "flex flex-col p-6 border-2 border-[--violet-9] rounded-lg w-full min-w-0 relative z-[1] backdrop-blur-[6px] bg-[rgba(249,_249,_251,_0.48)] dark:bg-[rgba(26,_27,_29,_0.48)] shadow-[0px_2px_5px_0px_rgba(28_32_36_0.03)] overflow-hidden h-[42rem]" ,
337+ class_name = "flex flex-col p-6 border-2 border-[--violet-9] rounded-lg w-full min-w-0 max-w-md w-[28rem] relative z-[1] backdrop-blur-[6px] bg-[rgba(249,_249,_251,_0.48)] dark:bg-[rgba(26,_27,_29,_0.48)] shadow-[0px_2px_5px_0px_rgba(28_32_36_0.03)] overflow-hidden h-[42rem]" ,
342338 ),
343339
344- class_name = "relative" ,
340+ class_name = "relative w-full min-w-0 max-w-md w-[28rem] " ,
345341 )
346342
347343
@@ -361,40 +357,10 @@ def plan_cards() -> rx.Component:
361357 ("frame" , "Open Source Framework" ),
362358 ],
363359 "Start for Free" ,
364- price = "$0/month " ,
360+ price = "Free " ,
365361 redirect_url = REFLEX_DOCS_URL ,
366362 ),
367- card (
368- "Pro" ,
369- "For professional projects and startups." ,
370- [
371- ("credit-card" , "Cloud Credits $10/month included" ),
372- ("brush" , "Custom domains" ),
373- ("building" , rx .link ("Reflex Enterprise" , href = "https://reflex.dev/docs/enterprise/overview/" , class_name = "!text-slate-11" ), "Pro-tier users can access Reflex Enterprise features without the 'Built with Reflex' badge when hosting their apps on Reflex Cloud" ),
374- ],
375- "Upgrade now" ,
376- price = "$20/month" ,
377- redirect_url = f"{ REFLEX_CLOUD_URL } /?redirect_url={ REFLEX_CLOUD_URL } /billing/" ,
378- ),
379363 popular_card (
380- "Team" ,
381- "For teams looking to scale their applications." ,
382- [
383- ("credit-card" , "Cloud Compute $20/month included" ),
384- ("users" , "Invite your teammates" ),
385- (
386- "cable" ,
387- "Reflex Build Integrations" ,
388- "Databricks, Snowflake, etc." ,
389- ),
390- ("file-badge" , "AG Grid with no Reflex Branding" ),
391- ("mail" , "Email support" ),
392- ("building" , rx .link ("Reflex Enterprise" , href = "https://reflex.dev/docs/enterprise/overview/" , class_name = "!text-slate-11" ), "Team-tier users can access Reflex Enterprise features without the 'Built with Reflex' badge when self-hosting their apps." ),
393- ],
394- "Upgrade now" ,
395- price = "$49 user/month" ,
396- ),
397- card (
398364 "Enterprise" ,
399365 "Get a plan tailored to your business needs." ,
400366 [
@@ -409,7 +375,6 @@ def plan_cards() -> rx.Component:
409375 ],
410376 "Contact Us" ,
411377 price = "Custom" ,
412- redirect_url = REFLEX_DEV_WEB_LANDING_FORM_URL_GET_DEMO ,
413378 ),
414- class_name = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6"
379+ class_name = "flex flex-row flex-wrap justify-center items-center gap-6 w-full "
415380 )
0 commit comments