Skip to content

Commit 91b2c6a

Browse files
committed
updates
1 parent b790f77 commit 91b2c6a

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

pcweb/pages/use_cases/common/final_section.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def right_content(h1: str, description: str) -> rx.Component:
2626
to=REFLEX_BUILD_URL,
2727
target="_blank",
2828
),
29-
class_name="flex flex-col lg:p-20 p-8 h-full shrink-0",
29+
class_name="flex flex-col lg:p-20 p-8 h-auto",
3030
)
3131

3232

@@ -48,5 +48,5 @@ def left_content(h1: str, description: str) -> rx.Component:
4848
custom_attrs=get_cal_attrs(),
4949
class_name="w-fit font-semibold mt-4",
5050
),
51-
class_name="flex flex-col gap-4 items-start justify-center lg:py-20 py-8 lg:pl-20 pl-8 lg:pr-[7.5rem] pr-8 relative overflow-hidden min-h-fit shrink-0",
51+
class_name="flex flex-col gap-4 items-start justify-center lg:py-20 py-8 lg:pl-20 pl-8 lg:pr-[7.5rem] pr-8 relative overflow-hidden min-h-fit",
5252
)

pcweb/pages/use_cases/common/text_section.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import reflex as rx
2+
import reflex_ui as ui
23

34
from pcweb.components.numbers_pattern import numbers_pattern
45

@@ -19,10 +20,13 @@ def content(header: str, description: str | None = None) -> rx.Component:
1920
)
2021

2122

22-
def text_section(header: str, description: str) -> rx.Component:
23+
def text_section(header: str, description: str, class_name: str = "") -> rx.Component:
2324
return rx.el.section(
2425
numbers_pattern(side="left", reverse=True, class_name="left-0 top-0"),
2526
numbers_pattern(side="right", reverse=True, class_name="right-0 top-0"),
2627
content(header, description),
27-
class_name="flex flex-col items-center mx-auto w-full max-w-[64.19rem] lg:border-x border-slate-3 relative overflow-hidden py-20 border-t",
28+
class_name=ui.cn(
29+
"flex flex-col items-center mx-auto w-full max-w-[64.19rem] lg:border-x border-slate-3 relative overflow-hidden py-20 border-t",
30+
class_name,
31+
),
2832
)

pcweb/pages/use_cases/finance/views/final_section.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def final_section() -> rx.Component:
1414
"Spin Up Your First Finance App",
1515
"Connect your data source, and ship a working internal tool in an afternoon—no JavaScript required.",
1616
),
17-
class_name="flex xl:flex-row flex-col w-full rounded-2xl border border-m-slate-4 dark:border-m-slate-12 bg-white-1 dark:bg-m-slate-14 z-5 lg:divide-x divide-slate-3 max-lg:divide-y",
17+
class_name="flex xl:flex-row flex-col w-full rounded-2xl border border-m-slate-4 dark:border-m-slate-12 bg-white-1 dark:bg-m-slate-14 z-5 xl:divide-x divide-slate-3 max-xl:divide-y",
1818
),
1919
class_name="mx-auto w-full max-w-[71.125rem] relative rounded-4xl border border-slate-4 backdrop-blur-[6px] bg-slate-2/48 p-4 flex z-1 max-lg:mb-6 -mb-px",
2020
)

pcweb/pages/use_cases/finance/views/text_section_2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ def text_section_2() -> rx.Component:
77
return text_section(
88
header="Proven at the World's Leading Institutions",
99
description="From global banks to agile fintechs, see how teams are transforming their internal tools with Reflex.",
10+
class_name="border-t-0",
1011
)

pcweb/pages/use_cases/finance/views/text_section_3.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ def text_section_3() -> rx.Component:
77
return text_section(
88
header="Why Financial Organizations Choose Reflex",
99
description="From global banks to agile fintechs, see how teams are transforming their internal tools with Reflex.",
10+
class_name="border-t-0",
1011
)

0 commit comments

Comments
 (0)