Skip to content

Commit d8d1e0f

Browse files
committed
update pricing cards
1 parent 5995e6d commit d8d1e0f

File tree

1 file changed

+35
-30
lines changed

1 file changed

+35
-30
lines changed

pcweb/pages/pricing/plan_cards.py

Lines changed: 35 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def _get_features_header(title: str) -> str:
216216
headers = {
217217
"Free": "What's included:",
218218
"Pro": "Everything in Free, plus:",
219-
"Enterprise": "Everything in Pro, plus:",
219+
"Enterprise": "Everything in Free, plus:",
220220
}
221221
return headers.get(title, "Features:")
222222

@@ -308,7 +308,7 @@ def card(
308308
),
309309
_render_feature_list(features),
310310
),
311-
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-[46rem]",
311+
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-[50rem]",
312312
)
313313

314314

@@ -371,7 +371,7 @@ def popular_card(
371371
),
372372
_render_feature_list(features),
373373
),
374-
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-[46rem]",
374+
class_name="flex flex-col p-6 border-2 border-[var(--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-[50rem]",
375375
),
376376
class_name="relative w-full min-w-0 max-w-md w-[28rem]",
377377
)
@@ -429,38 +429,39 @@ def price_cards() -> rx.Component:
429429
("cloud", "Deploy to Reflex Cloud", True),
430430
("badge", "'Built with Reflex' Attribution", True),
431431
("heart-handshake", "Discord/Github Support", True),
432+
("key", "OpenAI Integration", True),
432433
("github", "Github Integration", False),
433434
("download", "Download App Code", False),
434-
("key", "AI Integrations", False),
435+
("database", "Database Integrations", False)
435436
],
436437
"Start for Free",
437438
price="Free",
438439
redirect_url=REFLEX_DOCS_URL,
439440
),
440441

441-
# Pro Tier (Popular)
442-
popular_card(
443-
"Pro",
444-
"Everything you need for professional development.",
445-
[
446-
("eye", "Public Apps", True),
447-
("github", "Github Integration (Public)", True),
448-
("download", "Download App Code", True),
449-
("key", "OpenAI Integration", True),
450-
("mail", "Gmail Auth Integration", True),
451-
("database", "Database Integration", True),
452-
("eye-off", "Private Apps", False),
453-
("github", "Private Github Repos", False),
454-
("shield", "SSO Integration", False),
455-
("server", "Private Cloud Deploy", False),
456-
],
457-
"Get Started",
458-
price="$29/month",
459-
coming_soon=True, # Add this parameter to enable "Coming Soon"
460-
),
442+
# # Pro Tier (Popular)
443+
# popular_card(
444+
# "Pro",
445+
# "Everything you need for professional development.",
446+
# [
447+
# ("eye", "Public Apps", True),
448+
# ("github", "Github Integration (Public)", True),
449+
# ("download", "Download App Code", True),
450+
# ("key", "OpenAI Integration", True),
451+
# ("mail", "Gmail Auth Integration", True),
452+
# ("database", "Database Integration", True),
453+
# ("eye-off", "Private Apps", False),
454+
# ("github", "Private Github Repos", False),
455+
# ("shield", "SSO Integration", False),
456+
# ("server", "Private Cloud Deploy", False),
457+
# ],
458+
# "Get Started",
459+
# price="$29/month",
460+
# coming_soon=True, # Add this parameter to enable "Coming Soon"
461+
# ),
461462

462463
# Enterprise Tier
463-
card(
464+
popular_card(
464465
"Enterprise",
465466
"Tailored solutions for enterprise needs.",
466467
[
@@ -473,13 +474,17 @@ def price_cards() -> rx.Component:
473474
("user-round-plus", "White Glove Onboarding", True),
474475
("git-pull-request", "Influence Roadmap", True),
475476
("key", "Bring Your Own AI Keys", True),
476-
("circle-plus", "Everything in Pro", True),
477+
("github", "Github Integration", True),
478+
("download", "Download App Code", True),
479+
("database", "Database Integrations", True)
480+
# ("circle-plus", "Everything in Pro", True),
477481
],
478482
"Contact Sales",
479483
price="Custom",
480-
redirect_url=REFLEX_DEV_WEB_LANDING_FORM_URL_GET_DEMO,
484+
# redirect_url=REFLEX_DEV_WEB_LANDING_FORM_URL_GET_DEMO,
481485
),
482-
class_name="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 items-center place-items-center [&>*:nth-child(3)]:md:col-span-2 [&>*:nth-child(3)]:lg:col-span-1 mx-auto gap-6 w-full lg:border-x border-slate-3 max-w-[80rem]",
486+
# class_name="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 items-center place-items-center mx-auto gap-2 w-full max-w-[80rem] lg:border-x border-slate-3 [&>*:nth-child(3)]:md:col-span-1 [&>*:nth-child(3)]:lg:col-span-1",
487+
class_name="w-full max-w-[80rem] flex flex-row gap-x-8 items-center flex-wrap justify-center"
483488
)
484489

485490
def header():
@@ -492,14 +497,14 @@ def header():
492497
"Start free, scale as you grow, or go enterprise for maximum power",
493498
class_name="text-slate-9 text-xl font-semibold text-center",
494499
),
495-
class_name="flex items-center justify-between text-slate-11 flex-col py-[4.5rem] 2xl:border-t 2xl:border-x border-slate-4 max-w-[64.19rem] mx-auto w-full",
500+
class_name="flex items-center justify-between text-slate-11 flex-col py-[4.5rem] 2xl:border-x border-slate-4 max-w-[64.19rem] mx-auto w-full",
496501
)
497502

498503
def plan_cards():
499504
return rx.box(
500505
header(),
501506
price_cards(),
502-
class_name="flex flex-col gap-y-4 w-full "
507+
class_name="flex flex-col gap-y-4 w-full justify-center items-center "
503508
+ rx.cond(
504509
HostingBannerState.show_banner,
505510
"pt-[8rem] lg:pt-[11rem]",

0 commit comments

Comments
 (0)