|
26 | 26 | display: grid !important; |
27 | 27 | grid-template-columns: minmax(100px, 1fr) repeat(4, minmax(100px, 1fr)) !important; |
28 | 28 | padding: 1rem 2.5rem; |
29 | | - gap: 6rem !important; |
| 29 | + gap: 1rem !important; |
30 | 30 | } |
31 | 31 | .rt-ScrollAreaViewport { |
32 | 32 | padding-top: 2rem; |
|
35 | 35 |
|
36 | 36 | FRAMEWORK_SECTION = [ |
37 | 37 | ("Open Source Framework", True, True, True, True), |
38 | | - ("Templates", True, True, True, True), |
39 | 38 | ("One Click Auth", False, False, True, True), |
40 | 39 | ("Embed Reflex Apps", False, False, True, True), |
41 | | - ("Built-in Testing", False, False, True, True), |
42 | 40 | ] |
43 | 41 |
|
44 | 42 | REFLEX_BRANDING_SECTION = [ |
|
49 | 47 | ("Number of Generations", "5/month", "100/month/seat", "250/month/seat", "Custom"), |
50 | 48 | ] |
51 | 49 |
|
52 | | -DATABASE_SECTION = [ |
53 | | - ("Connect your own SQL DB", True, True, True, True), |
54 | | - ("Database Editor UI", False, False, True, True), |
55 | | - ("Database Migration Tool", False, False, True, True), |
56 | | -] |
57 | | - |
58 | 50 | HOSTING_TEXT_SECTION = [ |
59 | | - ("Compute Limits", "1 CPU, .5GB", "5 CPU, 10GB", "Custom", "Custom"), |
60 | 51 | ("Regions", "Single", "Multiple", "Multiple", "Multiple"), |
61 | | - ("Build logs", "7 day", "30 days", "90 days", "Custom"), |
62 | | - ("Runtime logs", "1 day", "7 days", "30 days", "Custom"), |
| 52 | + ("Logs", "1 day", "30 days", "90 days", "Custom"), |
63 | 53 | ] |
64 | 54 |
|
65 | 55 | HOSTING_BOOLEAN_SECTION = [ |
66 | 56 | ("CLI Deployments", True, True, True, True), |
| 57 | + ("Automatic CI / CD Deploy (Github)", True, True, True, True), |
67 | 58 | ("Custom Domains", False, True, True, True), |
68 | | - ("Automatic CI / CD Deploy (Github)", False, False, True, True), |
69 | | - ("Secrets", True, True, True, True), |
70 | | - ("Secret Manager", False, False, True, True), |
71 | | - ("App Analytics", False, False, True, True), |
72 | | - ("Traces", False, False, True, True), |
73 | | - ("Custom Alerts", False, False, True, True), |
74 | | - ("Rollbacks", False, False, True, True), |
75 | | - ("Large File Support", False, False, True, True), |
| 59 | + ("Secret Manager", False, True, True, True), |
| 60 | + ("App Analytics", False, True, True, True), |
76 | 61 | ("On Prem Hosting", False, False, False, True), |
77 | 62 | ] |
78 | 63 |
|
|
81 | 66 | ("HTTP/SSL", True, True, True, True), |
82 | 67 | ("DDos Protection", True, True, True, True), |
83 | 68 | ("2 Factor Auth", True, True, True, True), |
84 | | - ("Rich Permissions Control", False, False, True, True), |
85 | | - ("Connect to Analytics Vendors", False, False, True, True), |
86 | 69 | ("Audit Logs", False, False, False, True), |
87 | 70 | ("SSO", False, False, False, True), |
88 | 71 | ] |
|
92 | 75 | ] |
93 | 76 |
|
94 | 77 | SUPPORT_BOOLEAN_SECTION = [ |
95 | | - ("White Glove Onboarding", False, False, False, True), |
96 | 78 | ("Support SLAs Available", False, False, False, True), |
97 | | - ("Migrate Existing Apps", False, False, False, True), |
98 | | - ("Priority Support with Reflex Engineering Team", False, False, False, True), |
| 79 | + ("Personalized Onboarding", False, False, False, True), |
99 | 80 | ("", "", "", "", ""), |
100 | 81 | ] |
101 | 82 |
|
@@ -164,7 +145,7 @@ def create_table_row_header(name: list, coming_soon: bool = False) -> rx.Compone |
164 | 145 | rx.table.column_header_cell("Team", class_name=STYLES["header_cell_sub"]), |
165 | 146 | rx.table.column_header_cell("Enterprise", class_name=STYLES["header_cell_sub"]) |
166 | 147 | ], |
167 | | - class_name="w-full [&>*:not(:first-child)]:text-center bg-slate-2 border border-slate-3 rounded-2xl z-[6] !h-[3.625rem] relative", |
| 148 | + class_name="w-full [&>*:not(:first-child)]:text-center bg-slate-2 border border-slate-3 rounded-2xl z-[6] !h-[3.625rem] relative align-content center", |
168 | 149 | padding_x="5rem !important", |
169 | 150 | ) |
170 | 151 |
|
@@ -261,44 +242,23 @@ def table_body_hosting() -> rx.Component: |
261 | 242 |
|
262 | 243 | def table_body_oss() -> rx.Component: |
263 | 244 | return rx.table.root( |
264 | | - rx.el.style(TABLE_STYLE), |
265 | 245 | rx.table.header( |
266 | | - create_table_row_header("Framework"), |
| 246 | + create_table_row_header("AI", coming_soon=True), |
267 | 247 | class_name="relative", |
268 | 248 | ), |
269 | 249 | create_table_body( |
270 | | - *[ |
271 | | - create_checkmark_row(feature, checks) |
272 | | - for feature, *checks in FRAMEWORK_SECTION |
273 | | - ], |
274 | | - *[create_table_row(row) for row in REFLEX_BRANDING_SECTION], |
| 250 | + *[create_table_row(row) for row in REFLEX_AI_SECTION], |
275 | 251 | ), |
276 | 252 | rx.table.header( |
277 | | - create_table_row_header("Database"), |
| 253 | + create_table_row_header("Framework"), |
278 | 254 | class_name="relative", |
279 | 255 | ), |
280 | 256 | create_table_body( |
281 | 257 | *[ |
282 | 258 | create_checkmark_row(feature, checks) |
283 | | - for feature, *checks in DATABASE_SECTION |
| 259 | + for feature, *checks in FRAMEWORK_SECTION |
284 | 260 | ], |
285 | | - ), |
286 | | - rx.table.header( |
287 | | - create_table_row_header("AI", coming_soon=True), |
288 | | - class_name="relative", |
289 | | - ), |
290 | | - create_table_body( |
291 | | - *[create_table_row(row) for row in REFLEX_AI_SECTION], |
292 | | - ), |
293 | | - create_table_body( |
294 | | - rx.table.row( |
295 | | - rx.table.cell(), |
296 | | - *[ |
297 | | - rx.table.cell(create_action_button(text, variant, extra)) |
298 | | - for text, variant, extra in PLAN_BUTTONS |
299 | | - ], |
300 | | - class_name="w-full [&>*:not(:first-child)]:text-center bg-slate-1 !py-[1.25rem] border-y border-slate-4 !h-[76px] relative", |
301 | | - ), |
| 261 | + *[create_table_row(row) for row in REFLEX_BRANDING_SECTION], |
302 | 262 | ), |
303 | 263 | create_table_body( |
304 | 264 | *[create_table_row(row) for row in ASTERIX_SECTION], |
|
0 commit comments