Skip to content

Commit

Permalink
fix: missing anchor when displaying text instead of picture in agenda
Browse files Browse the repository at this point in the history
  • Loading branch information
habby1337 committed Mar 24, 2024
1 parent 1726ee6 commit 93c3397
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Components/Agenda.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,10 @@ const TalkCard = ({
</p>
)}
</div>
<div id="participants" className="flex justify-end w-20">
{profileImg && (
<a href={agendaTalk.talk?.url || "#"} className="" target="_blank">
{/* <AnimatedTooltip items={talkers} /> */}
<div id="participants" className="flex items-center justify-end w-20">
<a href={agendaTalk.talk?.url || "#"} className="" target="_blank">
{/* <AnimatedTooltip items={talkers} /> */}
{profileImg && (
<img
className="object-cover w-10 h-10 rounded-full"
src={profileImg}
Expand All @@ -277,9 +277,9 @@ const TalkCard = ({
title={speakerNameTitle}
loading="lazy"
/>
</a>
)}
{!profileImg && <p className="text-xs font-light text-center">{name}</p>}
)}
{!profileImg && <p className="text-xs font-light text-center">{name}</p>}
</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 93c3397

Please sign in to comment.