Skip to content

Commit 7e38067

Browse files
authored
Update hero and video section text and styling (#1707)
* 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.' * Update meta tags to match new landing page messaging - Update meta description to: 'Build with AI, iterate in Python, deploy to any cloud. The unified platform to build and scale enterprise apps.' - Update OG and Twitter titles to: 'Reflex · Build with AI, Deploy with Python'
1 parent 62589fd commit 7e38067

File tree

3 files changed

+22
-13
lines changed

3 files changed

+22
-13
lines changed

pcweb/meta/meta.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
from pcweb.constants import REFLEX_DOMAIN, REFLEX_DOMAIN_URL, TWITTER_CREATOR
44

5-
ONE_LINE_DESCRIPTION = (
6-
"The complete platform to build and scale enterprise apps - all in Python."
7-
)
5+
ONE_LINE_DESCRIPTION = "Build with AI, iterate in Python, deploy to any cloud. The unified platform to build and scale enterprise apps."
86

97
meta_tags = [
108
# HTML Meta Tags
@@ -20,7 +18,7 @@
2018
# Facebook Meta Tags
2119
{"property": "og:url", "content": REFLEX_DOMAIN_URL},
2220
{"property": "og:type", "content": "website"},
23-
{"property": "og:title", "content": "Reflex · Web apps in Pure Python"},
21+
{"property": "og:title", "content": "Reflex · Build with AI, Deploy with Python"},
2422
{
2523
"property": "og:description",
2624
"content": ONE_LINE_DESCRIPTION,
@@ -30,7 +28,7 @@
3028
{"name": "twitter:card", "content": "summary_large_image"},
3129
{"property": "twitter:domain", "content": REFLEX_DOMAIN},
3230
{"property": "twitter:url", "content": REFLEX_DOMAIN_URL},
33-
{"name": "twitter:title", "content": "Reflex · Web apps in Pure Python"},
31+
{"name": "twitter:title", "content": "Reflex · Build with AI, Deploy with Python"},
3432
{
3533
"name": "twitter:description",
3634
"content": ONE_LINE_DESCRIPTION,
@@ -53,7 +51,7 @@
5351
# Facebook Meta Tags
5452
{"property": "og:url", "content": REFLEX_DOMAIN_URL},
5553
{"property": "og:type", "content": "website"},
56-
{"property": "og:title", "content": "Reflex · Web apps in Pure Python"},
54+
{"property": "og:title", "content": "Reflex · Build with AI, Deploy with Python"},
5755
{
5856
"property": "og:description",
5957
"content": ONE_LINE_DESCRIPTION,
@@ -63,7 +61,7 @@
6361
{"name": "twitter:card", "content": "summary_large_image"},
6462
{"property": "twitter:domain", "content": REFLEX_DOMAIN},
6563
{"property": "twitter:url", "content": REFLEX_DOMAIN_URL},
66-
{"name": "twitter:title", "content": "Reflex · Web apps in Pure Python"},
64+
{"name": "twitter:title", "content": "Reflex · Build with AI, Deploy with Python"},
6765
{
6866
"name": "twitter:description",
6967
"content": ONE_LINE_DESCRIPTION,

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)