Skip to content

Commit 0a2621b

Browse files
committed
Update hero and video section text and styling
- Update hero heading to two-line format: 'The unified platform to build and scale enterprise apps.' - Update hero subheading to: 'Build with AI, iterate in Python, deploy to any cloud.' - Add send icon to 'Build with AI' button - Reduce padding below hero text and chat box - Update video section text to: 'Scale Your App With the Speed of AI and Precision of Python.'
1 parent 9f18d34 commit 0a2621b

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

pcweb/pages/landing/views/hero.py

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,11 @@ def prompt_box() -> rx.Component:
313313
aria_label="Upload images",
314314
),
315315
ui.button(
316-
"Build Your App",
316+
"Build with AI",
317+
rx.icon(
318+
tag="send",
319+
size=18,
320+
),
317321
size="lg",
318322
variant="primary",
319323
loading=SubmitPromptState.is_processing,
@@ -330,7 +334,7 @@ def prompt_box() -> rx.Component:
330334
"""
331335
),
332336
on_submit=SubmitPromptState.redirect_to_ai_builder,
333-
class_name="flex flex-col gap-4 mt-6 max-w-[29rem] w-full",
337+
class_name="flex flex-col gap-4 mt-2 max-w-[29rem] w-full",
334338
)
335339

336340

@@ -346,15 +350,22 @@ def hero() -> rx.Component:
346350
),
347351
rx.el.div(
348352
rx.el.h1(
349-
"Prompt to Production App",
353+
rx.el.span(
354+
"The unified platform to build",
355+
class_name="block",
356+
),
357+
rx.el.span(
358+
"and scale enterprise apps.",
359+
class_name="block",
360+
),
350361
class_name="text-secondary-12 lg:text-4xl text-3xl font-semibold text-center max-lg:text-balance",
351362
),
352363
rx.el.h2(
353-
"A unified platform to build and deploy all in Python.",
364+
"Build with AI, iterate in Python, deploy to any cloud.",
354365
class_name="text-secondary-11 lg:text-lg text-md font-medium text-center max-lg:text-pretty",
355366
),
356367
class_name="flex flex-col items-center justify-center gap-3",
357368
),
358369
prompt_box(),
359-
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",
370+
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-8 pt-32 lg:pt-[10rem] relative lg:overflow-hidden overflow-hidden z-[1] bg-transparent lg:bg-slate-1 lg:px-4",
360371
)

pcweb/pages/landing/views/video.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def text() -> rx.Component:
5454
rx.el.h2(
5555
"Build With Reflex. ",
5656
rx.el.span(
57-
"A Single Platform to Build With AI And Iterate in Python",
57+
"Scale Your App With the Speed of AI and Precision of Python.",
5858
class_name="text-slate-10 lg:text-3xl text-2xl font-semibold",
5959
),
6060
class_name="text-slate-12 lg:text-3xl text-2xl font-semibold max-w-[57rem]",

0 commit comments

Comments
 (0)