File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -360,7 +360,7 @@ function onMouseLeave() {
360360 {{ activeContributor.name || activeContributor.login }}
361361 </span >
362362 <div
363- v-if =" activeContributor.role"
363+ v-if =" roleLabels[ activeContributor.role] "
364364 class =" font-mono text-3xs uppercase tracking-wider text-accent font-bold"
365365 >
366366 {{ roleLabels[activeContributor.role] }}
@@ -371,8 +371,9 @@ function onMouseLeave() {
371371 >
372372 "{{ activeContributor.bio }}"
373373 </p >
374+
374375 <div
375- v-if =" activeContributor.companyHTML || activeContributor.company "
376+ v-if =" activeContributor.companyHTML"
376377 class =" mt-1 flex items-center gap-1 font-sans text-2xs text-fg-muted text-start min-w-0"
377378 >
378379 <div
@@ -381,9 +382,24 @@ function onMouseLeave() {
381382 />
382383 <div
383384 class =" company-content leading-relaxed break-words min-w-0 [& _a]:(text-accent no-underline hover:underline transition-all)"
384- v-html =" activeContributor.companyHTML || activeContributor.company "
385+ v-html =" activeContributor.companyHTML"
385386 />
386387 </div >
388+
389+ <div
390+ v-else-if =" activeContributor.company"
391+ class =" mt-1 flex items-center gap-1 font-sans text-2xs text-fg-muted text-start min-w-0"
392+ >
393+ <div
394+ class =" i-lucide:building-2 size-3 shrink-0 mt-0.5 text-accent/80"
395+ aria-hidden =" true"
396+ />
397+ <div
398+ class =" company-content leading-relaxed break-words min-w-0 [& _a]:(text-accent no-underline hover:underline transition-all)"
399+ >
400+ {{ activeContributor.company }}
401+ </div >
402+ </div >
387403 </div >
388404
389405 <div class =" mt-3 flex flex-col gap-1 text-3xs text-fg-subtle font-sans" >
You can’t perform that action at this time.
0 commit comments