Skip to content

Commit 46d34b0

Browse files
authored
ENG-8137: Update demo form (#1677)
1 parent e02b579 commit 46d34b0

File tree

10 files changed

+548
-479
lines changed

10 files changed

+548
-479
lines changed

pcweb/components/docpage/navbar/navbar.py

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

33
import reflex as rx
44
import reflex_ui as ui
5-
from reflex_ui.blocks.lemcal import lemcal_dialog
5+
from reflex_ui.blocks.demo_form import demo_form_dialog
66

77
from pcweb.components.hosting_banner import hosting_banner
88
from pcweb.constants import REFLEX_BUILD_URL, REFLEX_CLOUD_URL
@@ -548,7 +548,7 @@ def new_component_section() -> rx.Component:
548548
class_name="desktop-only",
549549
),
550550
ui.navigation_menu.item(
551-
render_=lemcal_dialog(
551+
render_=demo_form_dialog(
552552
ui.button(
553553
"Book a Demo",
554554
size="sm",

pcweb/pages/databricks/views/video.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import reflex as rx
22
import reflex_ui as ui
3-
from reflex_ui.blocks.lemcal import lemcal_dialog
3+
from reflex_ui.blocks.demo_form import demo_form_dialog
44

55
VIDEO_URL = "https://youtu.be/Hy3uhBVRdtk?si=Z5szIyInkBfeG2lk&t=92s"
66

@@ -37,7 +37,7 @@ def text() -> rx.Component:
3737
),
3838
class_name="text-slate-12 lg:text-3xl text-2xl font-semibold max-w-[57rem]",
3939
),
40-
lemcal_dialog(
40+
demo_form_dialog(
4141
ui.button(
4242
"Get Personalized Walkthrough",
4343
size="lg",

pcweb/pages/demo/header.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import reflex as rx
22
import reflex_ui as ui
3-
from reflex_ui.blocks.lemcal import lemcal_dialog
3+
from reflex_ui.blocks.demo_form import demo_form_dialog
44

55
from pcweb.components.hosting_banner import HostingBannerState
66
from pcweb.pages.framework.views.companies import pricing_page_companies
@@ -18,7 +18,7 @@ def custom_quote_form() -> rx.Component:
1818
"Enterprise-ready solutions designed for scale, compliance, and support. Contact us for a tailored quote based on your infrastructure and team size.",
1919
class_name="text-slate-11 text-md leading-relaxed font-medium text-center max-w-xl mx-auto",
2020
),
21-
lemcal_dialog(
21+
demo_form_dialog(
2222
rx.el.div(
2323
ui.button(
2424
"Contact Sales",

pcweb/pages/gallery/apps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import flexdown
55
import reflex as rx
6-
from reflex_ui.blocks.lemcal import lemcal_dialog
6+
from reflex_ui.blocks.demo_form import demo_form_dialog
77

88
from pcweb.components.button import button, button_with_icon
99
from pcweb.components.code_card import gallery_app_card
@@ -163,7 +163,7 @@ def page(document, is_reflex_template: bool) -> rx.Component:
163163
*(
164164
[
165165
rx.box(
166-
lemcal_dialog(
166+
demo_form_dialog(
167167
button_with_icon(
168168
"Book a Demo",
169169
icon="new_tab",

pcweb/pages/landing/views/start_building.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import reflex as rx
2-
from reflex_ui.blocks.lemcal import lemcal_dialog
2+
from reflex_ui.blocks.demo_form import demo_form_dialog
33

44
from pcweb.components.new_button import button
55

@@ -22,7 +22,7 @@ def start_building() -> rx.Component:
2222
"Start building with Reflex",
2323
class_name="text-slate-9 text-2xl lg:text-4xl font-semibold text-center",
2424
),
25-
lemcal_dialog(
25+
demo_form_dialog(
2626
button(
2727
"Contact sales",
2828
size="xl",

pcweb/pages/pricing/faq.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import reflex as rx
2-
from reflex_ui.blocks.lemcal import lemcal_dialog
2+
from reflex_ui.blocks.demo_form import demo_form_dialog
33

44
from pcweb.components.button import button
55

@@ -26,7 +26,7 @@ def header() -> rx.Component:
2626

2727
def sales_button() -> rx.Component:
2828
return rx.el.div(
29-
lemcal_dialog(
29+
demo_form_dialog(
3030
rx.el.div(
3131
glow(),
3232
button(

pcweb/pages/pricing/plan_cards.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import reflex as rx
55
import reflex_ui as ui
66
from reflex.experimental.client_state import ClientStateVar
7-
from reflex_ui.blocks.lemcal import lemcal_dialog
7+
from reflex_ui.blocks.demo_form import demo_form_dialog
88

99
from pcweb.components.hosting_banner import HostingBannerState
1010
from pcweb.components.number_flow import number_flow
@@ -254,7 +254,7 @@ def pricing_cards() -> rx.Component:
254254
Feature("QuestionIcon", "Dedicated Support Channel"),
255255
Feature("CustomerSupportIcon", "Onboarding support"),
256256
],
257-
lemcal_dialog(
257+
demo_form_dialog(
258258
ui.button(
259259
"Contact sales",
260260
variant="primary",

pcweb/pages/pricing/slider_calculator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import reflex as rx
44
import reflex_ui as ui
55
from reflex.experimental.client_state import ClientStateVar
6-
from reflex_ui.blocks.lemcal import lemcal_dialog
6+
from reflex_ui.blocks.demo_form import demo_form_dialog
77

88
from pcweb.constants import PRO_TIERS_TABLE, REFLEX_CLOUD_URL
99
from pcweb.pages.pricing.calculator import (
@@ -269,7 +269,7 @@ def total_credits_card() -> rx.Component:
269269
),
270270
rx.cond(
271271
get_is_enterprise_tier(MachineState.messages_tier_index),
272-
lemcal_dialog(
272+
demo_form_dialog(
273273
ui.button(
274274
"Contact Sales",
275275
size="sm",

pcweb/pages/pricing/table.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import reflex as rx
22
import reflex_ui as ui
3-
from reflex_ui.blocks.lemcal import lemcal_dialog
3+
from reflex_ui.blocks.demo_form import demo_form_dialog
44

55
from pcweb.components.hosting_banner import HostingBannerState
66
from pcweb.constants import REFLEX_BUILD_URL, REFLEX_CLOUD_URL
@@ -230,7 +230,7 @@ def header_item(text: str, button: rx.Component) -> rx.Component:
230230
# Enterprise column with button
231231
header_item(
232232
"Enterprise",
233-
lemcal_dialog(
233+
demo_form_dialog(
234234
ui.button(
235235
"Get a demo",
236236
variant="primary",

0 commit comments

Comments
 (0)