File tree Expand file tree Collapse file tree 2 files changed +16
-15
lines changed
link_bio/link_bio/components Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 1- import reflex as rx
2- from link_bio .styles .colors import Color
1+ # import reflex as rx
2+ # from link_bio.styles.colors import Color
33
44
5- class FloatButton (rx .Component ):
6- library = "antd"
7- tag = "FloatButton"
8- icon : rx .Var [rx .el .Img ]
9- href : rx .Var [str ]
10- target = "_blank"
11- badge = {"dot" : True , "color" : Color .PRIMARY .value }
5+ # class FloatButton(rx.Component):
6+ # library = "antd"
7+ # tag = "FloatButton"
8+ # icon: rx.Var[rx.el.Img]
9+ # href: rx.Var[str]
10+ # target = "_blank"
11+ # badge = {"dot": True, "color": Color.PRIMARY.value}
1212
1313
14- float_button = FloatButton .create
14+ # float_button = FloatButton.create
Original file line number Diff line number Diff line change 33import link_bio .constants as const
44from link_bio .styles .styles import Size , Spacing
55from link_bio .styles .colors import Color , TextColor
6- from link_bio .components .ant_components import float_button
6+ # from link_bio.components.ant_components import float_button
77
88
99def footer () -> rx .Component :
@@ -46,10 +46,11 @@ def footer() -> rx.Component:
4646 href = const .REPO_URL ,
4747 is_external = True
4848 ),
49- float_button (
50- icon = rx .image (src = "/icons/donate.svg" ),
51- href = const .COFFEE_URL
52- ),
49+ # Se deja de utilizar hasta que se actualice la versión de next.js
50+ # float_button(
51+ # icon=rx.image(src="/icons/donate.svg"),
52+ # href=const.COFFEE_URL
53+ # ),
5354 align = "center" ,
5455 margin_bottom = Size .BIG .value ,
5556 padding_bottom = Size .VERY_BIG .value ,
You can’t perform that action at this time.
0 commit comments