Skip to content

Commit aca46ce

Browse files
committed
Se deshabilita el botón flotante
1 parent 55b0a58 commit aca46ce

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed
+10-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
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

link_bio/link_bio/components/footer.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import link_bio.constants as const
44
from link_bio.styles.styles import Size, Spacing
55
from 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

99
def 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,

0 commit comments

Comments
 (0)