Skip to content

Commit c596b1d

Browse files
committed
refactor: user button instead of link
TODO: will add the v-if/v-else back with the link fallback
1 parent fb3935d commit c596b1d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

app/pages/about.vue

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,7 @@ function onBeforeToggleHoverCard(event: ToggleEvent & { source: HTMLElement }) {
264264
class="relative h-12 w-12 list-none group"
265265
style="contain: layout style"
266266
>
267-
<LinkBase
268-
:to="contributor.html_url"
269-
no-underline
270-
no-new-tab-icon
267+
<button
271268
:data-cid="contributor.id"
272269
class="group relative block h-12 w-12 rounded-lg transition-transform outline-none p-0 bg-transparent"
273270
interestfor="contributor-hovercard"
@@ -279,7 +276,7 @@ function onBeforeToggleHoverCard(event: ToggleEvent & { source: HTMLElement }) {
279276
height="64"
280277
class="w-12 h-12 rounded-lg ring-2 ring-transparent transition-shadow duration-200 hover:ring-accent"
281278
/>
282-
</LinkBase>
279+
</button>
283280
</li>
284281
</ul>
285282
</section>

0 commit comments

Comments
 (0)