Skip to content

Commit 467828f

Browse files
committed
Merge remote-tracking branch 'origin/main' into ahmad/pricing
2 parents c6171b1 + d2686ca commit 467828f

File tree

14 files changed

+154
-32
lines changed

14 files changed

+154
-32
lines changed
295 KB
Loading
1.61 MB
Loading
378 KB
Loading

pcweb/components/docpage/navbar/navbar.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -433,16 +433,18 @@ def new_component_section() -> rx.Component:
433433
rx.badge(
434434
"Docs",
435435
variant="surface",
436-
class_name="text-violet-9 xl:flex hidden text-sm",
437-
display=rx.cond(
438-
rx.State.router.page.path.contains("docs")
439-
| rx.State.router.page.path.contains("ai-builder")
440-
| rx.State.router.page.path.contains("cloud"),
441-
"block",
442-
"none",
443-
),
436+
class_name=(
437+
"text-violet-9 text-sm "
438+
+ rx.cond(
439+
rx.State.router.page.path.contains("docs")
440+
| rx.State.router.page.path.contains("ai-builder")
441+
| rx.State.router.page.path.contains("cloud"),
442+
"hidden lg:flex",
443+
"hidden",
444+
)
445+
)
444446
),
445-
class_name="flex flex-row gap-x-0",
447+
class_name="flex flex-row gap-x-0 items-center",
446448
),
447449
),
448450
rx.cond(

pcweb/constants.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
# pcweb constants.
44
API_BASE_URL_LOOPS: str = "https://app.loops.so/api/v1"
5-
REFLEX_DEV_WEB_LANDING_FORM_URL_GET_DEMO: str = (
6-
"https://cal.com/forms/f87bd9b2-b339-4915-b4d4-0098e2db4394"
7-
)
85
REFLEX_DEV_WEB_LANDING_FORM_SALES_CALL_WEBHOOK_URL: str = (
96
"https://hooks.zapier.com/hooks/catch/20661176/2s1nxp9/"
107
)

pcweb/pages/demo/header.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ def custom_quote_form() -> rx.Component:
3131
),
3232
class_name="grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-16 max-w-7xl mx-auto items-start",
3333
),
34-
class_name="py-12 sm:py-20 px-4 sm:px-8",
34+
id="demo-form",
35+
class_name="py-12 sm:py-20 px-4 sm:px-8 scroll-m-20",
3536
)
3637

3738

pcweb/pages/framework/components/hero.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from pcweb.components.button import button
44
from pcweb.components.icons.icons import get_icon
5-
from pcweb.constants import REFLEX_DEV_WEB_LANDING_FORM_URL_GET_DEMO
65
from pcweb.pages.docs import getting_started
76
from pcweb.pages.framework.demos.demos import demo_section
87

pcweb/pages/framework/views/hero.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from pcweb.components.button import button
44
from pcweb.components.icons.icons import get_icon
5-
from pcweb.constants import REFLEX_DEV_WEB_LANDING_FORM_URL_GET_DEMO
65
from pcweb.pages.docs import getting_started
76

87

pcweb/pages/hosting/views/hero.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import reflex as rx
22
from pcweb.components.new_button import button
33
from pcweb.pages.docs import hosting
4-
from pcweb.constants import REFLEX_DEV_WEB_LANDING_FORM_URL_GET_DEMO
54
from pcweb.components.hosting_banner import HostingBannerState
65

76

pcweb/pages/pricing/faq.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import reflex as rx
22
from pcweb.components.button import button
3-
from pcweb.constants import REFLEX_DEV_WEB_LANDING_FORM_URL_GET_DEMO
43

54

65
def glow() -> rx.Component:
@@ -31,8 +30,7 @@ def sales_button() -> rx.Component:
3130
variant="secondary",
3231
class_name="!text-slate-11 !font-semibold !text-sm",
3332
),
34-
href=REFLEX_DEV_WEB_LANDING_FORM_URL_GET_DEMO,
35-
is_external=True,
33+
href="#demo-form",
3634
class_name="self-center relative",
3735
)
3836

0 commit comments

Comments
 (0)