File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -275,29 +275,24 @@ const roleLabels = computed(
275275 :key =" contributor.id"
276276 class =" block group relative"
277277 >
278- <a
279- :href =" contributor.html_url"
280- target =" _blank"
281- rel =" noopener noreferrer"
282- :aria-label =" $t('about.contributors.view_profile', { name: contributor.login })"
283- class =" block rounded-lg"
284- >
285- <img
286- :src =" `${contributor.avatar_url}&s=64`"
287- :alt =" `${contributor.login}'s avatar`"
288- width =" 48"
289- height =" 48"
290- class =" w-12 h-12 rounded-lg ring-2 ring-transparent group-hover:ring-accent transition-all duration-200 ease-out group-hover:scale-125 will-change-transform"
291- loading =" lazy"
292- />
293- <span
294- class =" pointer-events-none absolute -top-9 inset-is-1/2 -translate-x-1/2 whitespace-nowrap rounded-md bg-gray-900 text-white dark:bg-gray-100 dark:text-gray-900 text-xs px-2 py-1 shadow-lg opacity-0 scale-95 transition-all duration-150 group-hover:opacity-100 group-hover:scale-100"
295- dir =" ltr"
296- role =" tooltip"
278+ <TooltipApp :text =" `@${contributor.login}`" class =" block" position =" top" >
279+ <a
280+ :href =" contributor.html_url"
281+ target =" _blank"
282+ rel =" noopener noreferrer"
283+ :aria-label =" $t('about.contributors.view_profile', { name: contributor.login })"
284+ class =" block rounded-lg"
297285 >
298- @{{ contributor.login }}
299- </span >
300- </a >
286+ <img
287+ :src =" `${contributor.avatar_url}&s=64`"
288+ :alt =" `${contributor.login}'s avatar`"
289+ width =" 48"
290+ height =" 48"
291+ class =" w-12 h-12 rounded-lg ring-2 ring-transparent group-hover:ring-accent transition-all duration-200 ease-out group-hover:scale-125 will-change-transform"
292+ loading =" lazy"
293+ />
294+ </a >
295+ </TooltipApp >
301296 </li >
302297 </ul >
303298 </section >
Original file line number Diff line number Diff line change @@ -156,30 +156,25 @@ const totalAccounts = computed(() => pdsUsers.value.length)
156156 :key =" user.handle"
157157 class =" block group relative hover:z-10"
158158 >
159- <a
160- :href =" `https://bsky.app/profile/${user.handle}`"
161- target =" _blank"
162- rel =" noopener noreferrer"
163- :aria-label =" $t('pds.community.view_profile', { handle: user.handle })"
164- class =" block rounded-lg"
165- >
166- <img
167- :src =" user.avatar"
168- :alt =" `${user.handle}'s avatar`"
169- @error =" handleImageError(user.handle)"
170- width =" 48"
171- height =" 48"
172- class =" w-12 h-12 rounded-lg ring-2 ring-transparent group-hover:ring-accent transition-all duration-200 ease-out group-hover:scale-125 will-change-transform"
173- loading =" lazy"
174- />
175- <span
176- class =" pointer-events-none absolute -top-9 inset-is-1/2 -translate-x-1/2 whitespace-nowrap rounded-md bg-gray-900 text-white dark:bg-gray-100 dark:text-gray-900 text-xs px-2 py-1 shadow-lg opacity-0 scale-95 transition-all duration-150 group-hover:opacity-100 group-hover:scale-100"
177- dir =" ltr"
178- role =" tooltip"
159+ <TooltipApp :text =" `@${user.handle}`" class =" block" position =" top" >
160+ <a
161+ :href =" `https://bsky.app/profile/${user.handle}`"
162+ target =" _blank"
163+ rel =" noopener noreferrer"
164+ :aria-label =" $t('pds.community.view_profile', { handle: user.handle })"
165+ class =" block rounded-lg"
179166 >
180- @{{ user.handle }}
181- </span >
182- </a >
167+ <img
168+ :src =" user.avatar"
169+ :alt =" `${user.handle}'s avatar`"
170+ @error =" handleImageError(user.handle)"
171+ width =" 48"
172+ height =" 48"
173+ class =" w-12 h-12 rounded-lg ring-2 ring-transparent group-hover:ring-accent transition-all duration-200 ease-out group-hover:scale-125 will-change-transform"
174+ loading =" lazy"
175+ />
176+ </a >
177+ </TooltipApp >
183178 </li >
184179 </ul >
185180 <p v-if =" usersWithoutAvatars.length" class =" text-center mt-4 text-fg-muted text-sm" >
You can’t perform that action at this time.
0 commit comments