Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 7b48770

Browse files
authored
fix: use a tags instead of link tags (#4158)
1 parent 31cd4f9 commit 7b48770

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

components/molecules/ContributorProfileHeader/contributor-profile-header.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,14 @@ const ContributorProfileHeader = ({
156156
/>
157157

158158
<Tooltip content="Get dev card">
159-
<Link
159+
<a
160160
href={cardPageUrl(username!)}
161161
className="absolute bottom-0 z-10 grid w-12 h-12 rounded-full shadow-xs place-content-center border-conic-gradient right-4"
162162
>
163163
<div className="grid overflow-hidden rounded-full w-11 h-11 place-content-center bg-black/80">
164164
<Image priority alt="user profile cover image" className="w-6 h-[1.7rem] " src={PizzaGradient} />
165165
</div>
166-
</Link>
166+
</a>
167167
</Tooltip>
168168
</div>
169169
<div className="translate-y-[110px] md:hidden relative">
@@ -175,15 +175,15 @@ const ContributorProfileHeader = ({
175175
size={120}
176176
isCircle
177177
/>
178-
<Link
178+
<a
179179
href={cardPageUrl(username!)}
180180
className="absolute bottom-0 z-10 grid rounded-full shadow-xs w-11 h-11 right-1 place-content-center border-conic-gradient"
181181
onClick={() => posthog.capture("DevCard clicked", { username })}
182182
>
183183
<div className="grid w-[2.5em] h-[2.5em] overflow-hidden rounded-full place-content-center bg-black/80">
184184
<Image priority alt="user profile cover image" className="w-5 h-5 " src={PizzaGradient} />
185185
</div>
186-
</Link>
186+
</a>
187187
</div>
188188
{isConnected ? (
189189
<div className="flex flex-col items-center gap-3 translate-y-24 md:translate-y-0 md:flex-row">

0 commit comments

Comments
 (0)