File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2121from .search import search_bar
2222from ..sidebar import SidebarState
2323from ...link_button import resources_button
24-
24+ from pcweb . components . hosting_banner import hosting_banner
2525
2626def resource_item (text : str , url : str , icon : str , index ):
2727 return rx .el .li (
@@ -520,7 +520,7 @@ def new_component_section() -> rx.Component:
520520@rx .memo
521521def navbar () -> rx .Component :
522522 return rx .box (
523- # hosting_banner(),
523+ hosting_banner (),
524524 rx .el .header (
525525 new_component_section (),
526526 class_name = "flex flex-row items-center gap-12 bg-slate-1 shadow-[inset_0_-1px_0_0_var(--c-slate-3)] px-4 lg:px-6 w-screen h-[48px] lg:h-[65px]" ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def glow() -> rx.Component:
1414
1515
1616class HostingBannerState (rx .State ):
17- show_banner : bool = False
17+ show_banner : bool = True
1818
1919 def hide_banner (self ):
2020 self .show_banner = False
@@ -32,19 +32,19 @@ def hosting_banner() -> rx.Component:
3232 "Reflex Build – " ,
3333 # Descriptive text: hidden on small, inline on md+
3434 rx .el .span (
35- "Build internal apps with AI ." ,
35+ "Prompt to production app, in seconds ." ,
3636 class_name = "hidden md:inline-block text-slate-12 font-medium text-sm" ,
3737 ),
3838 # Mobile CTA: inline on small, hidden on md+
3939 rx .el .span (
40- "Try for Free! " ,
40+ "Early Access " ,
4141 class_name = "inline-block md:hidden text-slate-12 font-medium text-sm" ,
4242 ),
4343 class_name = "text-slate-12 font-semibold text-sm z-[1]" ,
4444 ),
4545 # Standalone CTA button: hidden on small, inline on md+
4646 rx .el .button (
47- "Try for Free! " ,
47+ "Get Early Access " ,
4848 class_name = (
4949 "hidden md:inline-block "
5050 "text-green-11 h-[1.5rem] rounded-md bg-green-4 "
@@ -56,7 +56,7 @@ def hosting_banner() -> rx.Component:
5656 )
5757 ),
5858 glow (),
59- href = REFLEX_BUILD_URL ,
59+ href = "/pricing" ,
6060 underline = "none" ,
6161 is_external = True ,
6262 ),
You can’t perform that action at this time.
0 commit comments