Skip to content

Commit

Permalink
Actualización de dependencias
Browse files Browse the repository at this point in the history
  • Loading branch information
mouredev committed Nov 4, 2024
1 parent c077b0d commit 758b412
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
20 changes: 10 additions & 10 deletions link_bio/link_bio/components/ant_components.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import reflex as rx
from link_bio.styles.colors import Color
# import reflex as rx
# from link_bio.styles.colors import Color


class FloatButton(rx.Component):
library = "antd"
tag = "FloatButton"
icon: rx.Var[rx.el.Img]
href: rx.Var[str]
target = "_blank"
badge = {"dot": True, "color": Color.PRIMARY.value}
# class FloatButton(rx.Component):
# library = "antd"
# tag = "FloatButton"
# icon: rx.Var[rx.el.Img]
# href: rx.Var[str]
# target = "_blank"
# badge = {"dot": True, "color": Color.PRIMARY.value}


float_button = FloatButton.create
# float_button = FloatButton.create
10 changes: 5 additions & 5 deletions link_bio/link_bio/components/footer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import link_bio.constants as const
from link_bio.styles.styles import Size, Spacing
from link_bio.styles.colors import Color, TextColor
from link_bio.components.ant_components import float_button
# from link_bio.components.ant_components import float_button


def footer() -> rx.Component:
Expand Down Expand Up @@ -46,10 +46,10 @@ def footer() -> rx.Component:
href=const.REPO_URL,
is_external=True
),
float_button(
icon=rx.image(src="/icons/donate.svg"),
href=const.COFFEE_URL
),
# float_button(
# icon=rx.image(src="/icons/donate.svg"),
# href=const.COFFEE_URL
# ),
align="center",
margin_bottom=Size.BIG.value,
padding_bottom=Size.VERY_BIG.value,
Expand Down
4 changes: 2 additions & 2 deletions link_bio/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pip==24.3.1
reflex==0.6.4
python-dotenv==1.0.1
supabase==2.3.5
supabase==2.9.1
configcat-client==9.0.4
pytz==2024.1
pytz==2024.2

0 comments on commit 758b412

Please sign in to comment.