Skip to content

Commit 2cde6ec

Browse files
authored
[HOS-720] updating price page (#1384)
* updating price page * more prices * more changes
1 parent f21570d commit 2cde6ec

File tree

2 files changed

+64
-31
lines changed

2 files changed

+64
-31
lines changed

pcweb/pages/pricing/plan_cards.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ def plan_cards() -> rx.Component:
271271
"Hobby",
272272
"Everything you need to get started.",
273273
[
274+
("frame", "Open Source Framework"),
274275
("brain", "AI App Builder (Limited Access)"),
275276
(
276277
"app-window",
@@ -279,7 +280,7 @@ def plan_cards() -> rx.Component:
279280
),
280281
("code", "Reflex Open Source"),
281282
("heart-handshake", "Discord/Github Support"),
282-
("building", rx.link("Reflex Enterprise", href="https://reflex.dev/docs/enterprise/overview/", class_name="!text-slate-11"), "Free-tier users can access Reflex Enterprise features, with a required 'Built with Reflex' badge displayed on their apps.")
283+
("building", rx.link("Reflex Enterprise", href="https://reflex.dev/docs/enterprise/overview/", class_name="!text-slate-11"), "Free-tier users can access Reflex Enterprise features, with a required 'Built with Reflex' badge displayed on their apps."),
283284
],
284285
"Start building for free",
285286
price="Free",

pcweb/pages/pricing/table.py

Lines changed: 62 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,6 @@
3838
("Team Size", "1", "1", "< 25", "Unlimited"),
3939
]
4040

41-
FRAMEWORK_SECTION = [
42-
("Open Source Framework", True, True, True, True),
43-
("Enterprise Components (AG Grid) *", True, True, True, True),
44-
("One Click Auth", False, False, True, True),
45-
("Single Port Deploy", False, False, True, True),
46-
("HTTP Fallback for Websockets", False, False, True, True),
47-
("Custom NPM Registry", False, False, True, True),
48-
]
4941

5042
AI_TEXT_SECTION = [
5143
(
@@ -58,61 +50,90 @@
5850
]
5951

6052
AI_BOOLEAN_SECTION = [
61-
("Purchase Extra AI Credits", False, True, True, True),
53+
("Image to App", True, True, True, True),
54+
("Web IDE", True, True, True, True),
55+
("Custom User Rules", True, True, True, True),
6256
("One Click Cloud Deploy", True, True, True, True),
6357
("Github Integration", True, True, True, True),
6458
("Database Integration", True, True, True, True),
6559
("Secrets Integration", True, True, True, True),
66-
("Web IDE", True, True, True, True),
60+
("Purchase Extra AI Credits", False, True, True, True),
6761
("Private Apps", False, True, True, True),
68-
("Connect AI Builder to your Data Sources", False, False, True, True),
6962
("Bring your own API Keys", False, False, False, True),
7063
]
7164

65+
ASTERIX_SECTION_ENTERPRISE = [
66+
(
67+
"* Enterprise components included for Hobby (with `Built with Reflex` badge) and Pro (if self-hosted).",
68+
"",
69+
"",
70+
"",
71+
"",
72+
),
73+
("", "", "", "", ""),
74+
]
75+
76+
77+
REFLEX_ENTERPRISE_BOOLEAN_SECTION = [
78+
("AG Grid *",True, True, True, True),
79+
("AG Charts *",True, True, True, True),
80+
("Map Component *",True, True, True, True),
81+
("Drag and Drop Component *",True, True, True, True),
82+
("Single Port Deploy *",True, True, True, True),
83+
("HTTP Fallback for Websockets",False, False, False, True),
84+
("Custom NPM Registry",False, False, False, True),
85+
("One Click Auth",False, False, True, True),
86+
]
7287

7388
HOSTING_TEXT_SECTION = [
7489
(
7590
"Compute",
7691
"20 hours/month",
77-
"$10 compute credits/month",
92+
"$10 credits/month",
7893
"$20 compute credits/user/month",
7994
"Custom",
8095
),
81-
("Regions", "Single", "Multiple", "Multiple", "Multiple"),
8296
("Build Logs", "1 day", "30 days", "90 days", "Custom"),
8397
("Runtime Logs", "1 hour", "1 day", "1 week", "Custom"),
8498
]
8599

86100
HOSTING_BOOLEAN_SECTION = [
101+
("Multiple Regions", False, True, True, True),
87102
("CPU / Memory Metrics", True, True, True, True),
88-
("CLI Deployments", True, True, True, True),
89-
("CI/CD Deploy Tokens", True, True, True, True),
90-
("Set Billing Limits", True, True, True, True),
91-
("Custom Domains", False, True, True, True),
92-
("Secret Manager", False, True, True, True),
93103
("User Analytics", False, False, True, True),
104+
("On Premise Deployments", False, False, False, True),
105+
("Custom Domains", False, True, True, True),
106+
107+
# ... the following were not in the notion docs
108+
# ("CLI Deployments", True, True, True, True),
109+
# ("CI/CD Deploy Tokens", True, True, True, True),
110+
# ("Set Billing Limits", True, True, True, True),
111+
]
112+
113+
FEATURES_SECTION = [
114+
("Secrets", True, True, True, True),
94115
("Custom Alerts", False, False, True, True),
95116
("Rollbacks", False, False, True, True),
96117
("Audit Log", False, False, True, True),
97-
("On Prem Deployments", False, False, False, True),
98118
]
99119

100120
SECURITY_SECTION = [
101121
("Web App Firewall", True, True, True, True),
102122
("HTTP/SSL", True, True, True, True),
103-
("DDos Protection", True, True, True, True),
123+
# ("DDos Protection", True, True, True, True),
104124
("Automatic CI/CD", False, True, True, True),
105125
("Security Audit Reports", False, False, True, True),
106126
("SSO", False, False, False, True),
107127
]
108128

109129
SUPPORT_TEXT_SECTION = [
110-
("Support", "Community", "Community", "Email Support", "Dedicated Support")
130+
("Support", "Community Support", "Community Support", "Email Support", "Dedicated Support")
111131
]
112132

113133
SUPPORT_BOOLEAN_SECTION = [
114134
("White Glove Onboarding", False, False, False, True),
115-
("SLAs Available", False, False, False, True),
135+
# ... not in the notion docs
136+
# ("SLAs Available", False, False, False, True),
116137
("", "", "", "", ""),
117138
]
118139

@@ -255,7 +276,7 @@ def table_body_oss() -> rx.Component:
255276
*[create_table_row(row) for row in PRICE_SECTION],
256277
),
257278
rx.table.header(
258-
create_table_row_header("AI"),
279+
create_table_row_header("Reflex Build"),
259280
class_name="relative",
260281
),
261282
create_table_body(
@@ -265,18 +286,19 @@ def table_body_oss() -> rx.Component:
265286
for feature, *checks in AI_BOOLEAN_SECTION
266287
],
267288
),
289+
#
268290
rx.table.header(
269-
create_table_row_header("FRAMEWORK"),
291+
create_table_row_header("Reflex Enterprise"),
270292
class_name="relative",
271293
),
272294
create_table_body(
273-
*[
274-
create_checkmark_row(feature, checks)
275-
for feature, *checks in FRAMEWORK_SECTION
276-
],
295+
*[
296+
create_checkmark_row(feature, checks)
297+
for feature, *checks in REFLEX_ENTERPRISE_BOOLEAN_SECTION
298+
],
277299
),
278300
create_table_body(
279-
*[create_table_row(row) for row in ASTERIX_SECTION],
301+
*[create_table_row(row) for row in ASTERIX_SECTION_ENTERPRISE],
280302
),
281303
class_name="w-full overflow-x-auto max-w-[69.125rem] -mt-[2rem]",
282304
)
@@ -300,7 +322,7 @@ def table_body_hosting() -> rx.Component:
300322
return rx.table.root(
301323
rx.el.style(TABLE_STYLE),
302324
rx.table.header(
303-
create_table_row_header("Hosting"),
325+
create_table_row_header("Reflex Cloud"),
304326
glow(),
305327
class_name="relative",
306328
),
@@ -311,6 +333,16 @@ def table_body_hosting() -> rx.Component:
311333
for feature, *checks in HOSTING_BOOLEAN_SECTION
312334
],
313335
),
336+
rx.table.header(
337+
create_table_row_header("Features"),
338+
class_name="relative",
339+
),
340+
create_table_body(
341+
*[
342+
create_checkmark_row(feature, checks)
343+
for feature, *checks in FEATURES_SECTION
344+
],
345+
),
314346
rx.table.header(
315347
create_table_row_header("Security"),
316348
class_name="relative",

0 commit comments

Comments
 (0)