Skip to content

Commit fbb6e84

Browse files
committed
Avatar webp
1 parent e6402b3 commit fbb6e84

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

link_bio/assets/avatar.jpg

-74 KB
Binary file not shown.

link_bio/assets/avatar.webp

37.2 KB
Binary file not shown.

link_bio/link_bio/views/header.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,19 @@ def header(details=True) -> rx.Component:
3232
bg=Color.PURPLE.value,
3333
position="absolute",
3434
top=f"-{Size.DEFAULT.value}",
35-
right=f"-{Size.DEFAULT.value}"
35+
right=f"-{Size.DEFAULT.value}",
36+
z_index="2"
3637
)
3738
),
3839
rx.avatar(
3940
name="Brais Moure",
4041
size=Spacing.MEDIUM_BIG.value,
41-
src="/avatar.jpg",
42+
src="/avatar.webp",
4243
radius="none",
4344
color=TextColor.LIGHT.value,
4445
bg=Color.DARK.value,
45-
style=styles.image_style
46+
style=styles.image_style,
47+
alt="Avatar MoureDev"
4648
),
4749
position="relative"
4850
),

0 commit comments

Comments
 (0)