File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 11import reflex as rx
2-
2+ from pcweb . constants import REFLEX_CLOUD_URL
33
44def glow () -> rx .Component :
55 return rx .box (
@@ -21,8 +21,8 @@ def hide_banner(self):
2121def hosting_banner () -> rx .Component :
2222 return rx .cond (
2323 HostingBannerState .show_banner ,
24- rx .box (
25- rx .link (
24+ rx .link (
25+ rx .box (
2626 rx .box (
2727 rx .text (
2828 "Reflex Cloud - " ,
@@ -33,14 +33,11 @@ def hosting_banner() -> rx.Component:
3333 class_name = "text-slate-12 font-semibold text-sm z-[1]" ,
3434 ),
3535 rx .el .button (
36- "Live on Product Hunt Now! 🚀 " ,
37- class_name = "text-orange -11 h-[1.5rem] rounded-md bg-orange -4 px-1.5 text-sm font-semibold z-[1] items-center justify-center shrink-0" ,
36+ "Live Now!" ,
37+ class_name = "text-green -11 h-[1.5rem] rounded-md bg-green -4 px-1.5 text-sm font-semibold z-[1] items-center justify-center shrink-0" ,
3838 ),
3939 class_name = "flex items-center gap-4" ,
4040 ),
41- href = "https://www.producthunt.com/posts/reflex-cloud" ,
42- underline = "none" ,
43- class_name = "mr-7 lg:mr-0" ,
4441 ),
4542 rx .icon (
4643 "x" ,
@@ -49,6 +46,9 @@ def hosting_banner() -> rx.Component:
4946 class_name = "z-[1] cursor-pointer hover:!text-slate-11 transition-color !text-slate-9 absolute right-4" ,
5047 ),
5148 glow (),
49+ href = REFLEX_CLOUD_URL ,
50+ underline = "none" ,
51+ is_external = True ,
5252 class_name = "px-4 lg:px-6 w-screen h-auto lg:h-[3.5rem] shadow-[inset_0_-1px_0_0_var(--c-slate-3)] flex items-center justify-center bg-slate-1 flex-row gap-4 overflow-hidden relative lg:py-0 py-2 max-w-full" ,
5353 ),
5454 )
You can’t perform that action at this time.
0 commit comments