@@ -21,34 +21,36 @@ def hide_banner(self):
2121def hosting_banner () -> rx .Component :
2222 return rx .cond (
2323 HostingBannerState .show_banner ,
24- rx .link (
25- rx .box (
24+ rx .hstack (
25+ rx .link (
2626 rx .box (
27- rx .text (
28- "Reflex Cloud - " ,
29- rx .el .span (
30- "Fast, secure & scalable hosting. One command to deploy." ,
31- class_name = "text-slate-12 font-medium text-sm" ,
27+ rx .box (
28+ rx .text (
29+ "Reflex Cloud - " ,
30+ rx .el .span (
31+ "Fast, secure & scalable hosting. One command to deploy." ,
32+ class_name = "text-slate-12 font-medium text-sm" ,
33+ ),
34+ class_name = "text-slate-12 font-semibold text-sm z-[1]" ,
3235 ),
33- class_name = "text-slate-12 font-semibold text-sm z-[1]" ,
34- ) ,
35- rx . el . button (
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 " ,
36+ rx . el . button (
37+ "Live Now!" ,
38+ 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" ,
39+ ) ,
40+ class_name = "flex items-center gap-4 " ,
3841 ),
39- class_name = "flex items-center gap-4" ,
4042 ),
43+ glow (),
44+ href = REFLEX_CLOUD_URL ,
45+ underline = "none" ,
46+ is_external = True ,
4147 ),
4248 rx .icon (
4349 "x" ,
4450 on_click = HostingBannerState .hide_banner ,
4551 size = 16 ,
46- class_name = "z-[1] cursor-pointer hover:!text-slate-11 transition-color !text-slate-9 absolute right-4" ,
52+ class_name = "cursor-pointer hover:!text-slate-11 transition-color !text-slate-9 absolute right-4 z-10 " ,
4753 ),
48- glow (),
49- href = REFLEX_CLOUD_URL ,
50- underline = "none" ,
51- is_external = True ,
5254 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" ,
5355 ),
5456 )
0 commit comments