We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1217fb8 commit c59b6fdCopy full SHA for c59b6fd
src/components/speakers/Speaker.tsx
@@ -43,9 +43,21 @@ export function Speaker({
43
</svg>
44
</button>
45
) : null}
46
- <picture className="object-cover rounded-md aspect-square p-0.5">
47
- <source srcSet={avatar_url} type="image/webp" />
48
- <img alt="Speaker's photo" src={avatar_url} />
+ <picture>
+ <source
+ srcSet={avatar_url}
49
+ type="image/webp"
50
+ width={350}
51
+ height={350}
52
+ className="aspect-square object-cover rounded-md"
53
+ />
54
+ <img
55
+ alt="Speaker's photo"
56
+ src={avatar_url}
57
58
59
60
61
</picture>
62
<div className="py-2">
63
<h1 className="text-lg font-medium text-white">{name}</h1>
0 commit comments