Skip to content

Commit 324db04

Browse files
committed
bring back pricing & change demo url
1 parent e78f95c commit 324db04

File tree

9 files changed

+228
-85
lines changed

9 files changed

+228
-85
lines changed

pcweb/components/docpage/navbar/navbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def new_component_section() -> rx.Component:
535535
),
536536
underline="none",
537537
is_external=True,
538-
href="/pricing",
538+
href="/demo",
539539
),
540540
class_name="xl:flex hidden",
541541
),

pcweb/pages/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
from .page404 import page404 as page404
1919
from .pricing.pricing import pricing as pricing
2020
from .sales import sales as sales
21+
from .demo.book_demo import book_demo as book_demo
22+
2123

2224
routes = [
2325
*[r for r in locals().values() if isinstance(r, Route) and r.add_as_page],

pcweb/pages/demo/book_demo.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import reflex as rx
2+
from pcweb.pages.framework.index_colors import index_colors
3+
from pcweb.pages.framework.views.footer_index import footer_index
4+
from pcweb.meta.meta import hosting_meta_tags
5+
from pcweb.pages.demo.header import header
6+
7+
@rx.page(route="/demo", title="Reflex · Book Demo", meta=hosting_meta_tags)
8+
def book_demo() -> rx.Component:
9+
"""Get the Book Demo landing page."""
10+
from pcweb.components.docpage.navbar import navbar
11+
12+
return rx.box(
13+
index_colors(),
14+
navbar(),
15+
rx.el.main(
16+
rx.box(
17+
header(),
18+
class_name="flex flex-col relative justify-center items-center w-full",
19+
),
20+
class_name="flex flex-col w-full relative h-full justify-center items-center",
21+
),
22+
footer_index(),
23+
class_name="flex flex-col w-full max-w-[94.5rem] justify-center items-center mx-auto px-4 lg:px-5 relative overflow-hidden",
24+
)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def custom_quote_form() -> rx.Component:
3838
def header() -> rx.Component:
3939
return rx.box(
4040
custom_quote_form(),
41-
class_name="flex flex-col gap-2 justify-center items-center max-w-[64.19rem] 2xl:border-x border-slate-4 w-full -mb-10 "
41+
class_name="flex flex-col gap-2 justify-center items-center max-w-[64.19rem] 2xl:border-x border-slate-4 w-full -mb-10 pb-16 "
4242
+ rx.cond(
4343
HostingBannerState.show_banner,
4444
"pt-[8rem] lg:pt-[11rem]",

pcweb/pages/gallery/apps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def page(document, is_reflex_template: bool) -> rx.Component:
155155
class_name="flex-row-reverse gap-2 !w-full",
156156
),
157157
is_external=True,
158-
href="/pricing",
158+
href="/demo",
159159
class_name="!w-full"
160160
),
161161
class_name="flex justify-center items-center h-full !w-full",

pcweb/pages/landing/views/outcomes_section.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def outcomes_showcase() -> rx.Component:
148148
),
149149
underline="none",
150150
is_external=True,
151-
href="/pricing",
151+
href="/demo",
152152
class_name="mt-6",
153153
),
154154
class_name="flex flex-col justify-center items-center h-full",

0 commit comments

Comments
 (0)