Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: image quality on mobile devices in speaker card #97

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/app/components/Speakers/SpeakerCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,17 @@ const SpeakerCard = ({
className="lg:size-[168px]"
src={avatar}
alt={fullName}
quality={100}
/>
</div>
<div className="flex flex-col items-center gap-0.5 lg:gap-1">
<strong className="lg:text-xl">{fullName}</strong>
<span className="text-sm text-zinc-400 lg:text-base">{position}</span>
<span className="text-sm text-zinc-400 lg:text-base">{company}</span>
<span className="text-center text-sm text-zinc-400 lg:text-base">
{position}
</span>
<span className="text-center text-sm text-zinc-400 lg:text-base">
{company}
</span>
</div>
<div className="flex gap-3 p-1 lg:gap-2 lg:p-2">
<SpeakerSocials {...socials} />
Expand Down