Skip to content

Commit

Permalink
Animación en links destacados
Browse files Browse the repository at this point in the history
  • Loading branch information
mouredev committed Feb 25, 2024
1 parent 0ae6a3a commit 3b52c75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions link_bio/link_bio/components/featured_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@ def featured_link(featured: Featured) -> rx.Component:
rx.vstack(
rx.image(
src=featured.image,
border_radius=Size.DEFAULT.value
border_radius=Size.DEFAULT.value,
),
rx.text(
featured.title,
size=Spacing.VERY_SMALL.value,
style=styles.button_body_style
),
spacing=Spacing.SMALL.value,
align_items="start"
align_items="start",
class_name=styles.FADEIN_ANIMATION
),
href=featured.url,
is_external=True
Expand Down
3 changes: 1 addition & 2 deletions link_bio/link_bio/views/index_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ def index_links() -> rx.Component:
featured_link
),
flex_direction=["column", "row"],
spacing=Spacing.DEFAULT.value,
class_name=styles.FADEIN_ANIMATION
spacing=Spacing.DEFAULT.value
),
spacing=Spacing.DEFAULT.value
)
Expand Down

0 comments on commit 3b52c75

Please sign in to comment.