Skip to content

Commit 77c025e

Browse files
committed
re-arrange the support header to the top section
1 parent 53e4a6e commit 77c025e

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

pcweb/pages/pricing/table.py

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070
"",
7171
"",
7272
),
73-
("", "", "", "", ""),
7473
]
7574

7675

@@ -134,7 +133,6 @@
134133
("White Glove Onboarding", False, False, False, True),
135134
# ... not in the notion docs
136135
# ("SLAs Available", False, False, False, True),
137-
("", "", "", "", ""),
138136
]
139137

140138
PLAN_BUTTONS = [
@@ -300,6 +298,17 @@ def table_body_oss() -> rx.Component:
300298
create_table_body(
301299
*[create_table_row(row) for row in ASTERIX_SECTION_ENTERPRISE],
302300
),
301+
rx.table.header(
302+
create_table_row_header("Support"),
303+
class_name="relative",
304+
),
305+
create_table_body(
306+
*[create_table_row(row) for row in SUPPORT_TEXT_SECTION],
307+
*[
308+
create_checkmark_row(feature, checks)
309+
for feature, *checks in SUPPORT_BOOLEAN_SECTION
310+
],
311+
),
303312
class_name="w-full overflow-x-auto max-w-[69.125rem] -mt-[2rem]",
304313
)
305314

@@ -353,17 +362,6 @@ def table_body_hosting() -> rx.Component:
353362
for feature, *checks in SECURITY_SECTION
354363
],
355364
),
356-
rx.table.header(
357-
create_table_row_header("Support"),
358-
class_name="relative",
359-
),
360-
create_table_body(
361-
*[create_table_row(row) for row in SUPPORT_TEXT_SECTION],
362-
*[
363-
create_checkmark_row(feature, checks)
364-
for feature, *checks in SUPPORT_BOOLEAN_SECTION
365-
],
366-
),
367365
class_name="w-full overflow-x-auto max-w-[69.125rem] -mt-[2rem]",
368366
)
369367

0 commit comments

Comments
 (0)