Skip to content

Commit

Permalink
fix(contributor profile header): fixed the bug by using a tags instea…
Browse files Browse the repository at this point in the history
…d of link tags

fixed the bug by using a tags instead of link tags

fix #4108
  • Loading branch information
Bashamega committed Oct 10, 2024
1 parent 31cd4f9 commit 4080973
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ const ContributorProfileHeader = ({
/>

<Tooltip content="Get dev card">
<Link
<a
href={cardPageUrl(username!)}
className="absolute bottom-0 z-10 grid w-12 h-12 rounded-full shadow-xs place-content-center border-conic-gradient right-4"
>
<div className="grid overflow-hidden rounded-full w-11 h-11 place-content-center bg-black/80">
<Image priority alt="user profile cover image" className="w-6 h-[1.7rem] " src={PizzaGradient} />
</div>
</Link>
</a>
</Tooltip>
</div>
<div className="translate-y-[110px] md:hidden relative">
Expand All @@ -175,15 +175,15 @@ const ContributorProfileHeader = ({
size={120}
isCircle
/>
<Link
<a
href={cardPageUrl(username!)}
className="absolute bottom-0 z-10 grid rounded-full shadow-xs w-11 h-11 right-1 place-content-center border-conic-gradient"
onClick={() => posthog.capture("DevCard clicked", { username })}
>
<div className="grid w-[2.5em] h-[2.5em] overflow-hidden rounded-full place-content-center bg-black/80">
<Image priority alt="user profile cover image" className="w-5 h-5 " src={PizzaGradient} />
</div>
</Link>
</a>
</div>
{isConnected ? (
<div className="flex flex-col items-center gap-3 translate-y-24 md:translate-y-0 md:flex-row">
Expand Down

0 comments on commit 4080973

Please sign in to comment.