Skip to content

Commit da490fe

Browse files
authored
Merge branch 'main' into carlos/bump-reflex-ui
2 parents 18ce228 + e076542 commit da490fe

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

pcweb/pages/landing/views/hero.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,8 @@ def prompt_box() -> rx.Component:
252252
"autoCorrect": "off",
253253
"spellCheck": "false",
254254
},
255+
required=True,
256+
min_length=5,
255257
auto_height=True,
256258
enter_key_submit=True,
257259
class_name="text-slate-12 text-xl font-medium size-full placeholder:text-slate-9 border-none focus:border-none focus:outline-none outline-none resize-none caret-slate-12 mt-2 resize-none w-full [&::-webkit-scrollbar]:w-1 [&::-webkit-scrollbar-track]:bg-grayA-3 [&::-webkit-scrollbar-thumb]:bg-slate-7 [&::-webkit-scrollbar-track]:rounded-full [&::-webkit-scrollbar-thumb]:rounded-full bg-transparent min-h-[2.5rem] max-h-[10.5rem]",
@@ -338,10 +340,16 @@ def hero() -> rx.Component:
338340
side="right",
339341
class_name="lg:top-[65px] top-[45px] lg:h-[calc(100%-65px)] h-[calc(100%-45px)]",
340342
),
341-
rx.el.h1(
342-
"""Build From Prompt to
343-
Production App, In Seconds""",
344-
class_name="text-slate-12 lg:text-4xl text-3xl font-semibold text-center lg:max-w-[576px] word-wrap break-words lg:whitespace-pre",
343+
rx.el.div(
344+
rx.el.h1(
345+
"Prompt to Production App",
346+
class_name="text-secondary-12 lg:text-4xl text-3xl font-semibold text-center max-lg:text-balance",
347+
),
348+
rx.el.h2(
349+
"A unified platform to build and deploy all in Python.",
350+
class_name="text-secondary-10 lg:text-lg text-md font-medium text-center max-lg:text-pretty",
351+
),
352+
class_name="flex flex-col items-center justify-center gap-3",
345353
),
346354
prompt_box(),
347355
class_name="flex flex-col justify-center items-center gap-4 mx-auto w-full max-w-[64.19rem] lg:border-x border-slate-3 pb-[3rem] pt-28 lg:pt-[8rem] relative lg:overflow-hidden overflow-hidden z-[1] bg-transparent lg:bg-slate-1 lg:px-4",

pcweb/telemetry/pixels.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
get_google_analytics_trackers,
88
get_posthog_trackers,
99
get_rb2b_trackers,
10+
gtag_report_conversion,
1011
)
1112

1213

@@ -15,6 +16,9 @@ def get_pixel_website_trackers() -> list[rx.Component]:
1516
return [
1617
get_common_room_trackers(site_id="b608b3c3-5dea-4365-b685-6b6635c7fda5"),
1718
*get_google_analytics_trackers(tracking_id="G-4T7C8ZD9TR"),
19+
gtag_report_conversion(
20+
conversion_id_and_label="AW-11360851250/ASB4COvpisIbELKqo6kq"
21+
),
1822
get_clearbit_trackers(public_key="pk_3d711a6e26de5ddb47443d8db170d506"),
1923
get_posthog_trackers(
2024
project_id="phc_A0MAR0wCGhXrizWmowRZcYqyZ8PMhPPQW06KEwD43aC"

0 commit comments

Comments
 (0)