[READ-ONLY] a fast, modern browser for the npm registry
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add contributor number to about page and improve legibility (#654)

authored by

Salma Alam-Naylor and committed by
GitHub
6af7618c 4e089762

+7 -7
+1 -1
app/components/Package/DeprecatedTree.vue
··· 88 88 name: 'package', 89 89 params: { package: [...pkg.name.split('/'), 'v', pkg.version] }, 90 90 }" 91 - class="font-mono text-sm font-medium hover:underline truncate" 91 + class="font-mono text-sm font-medium hover:underline truncate py-4" 92 92 :class="getDepthStyle(pkg.depth).text" 93 93 > 94 94 {{ pkg.name }}@{{ pkg.version }}
+1 -1
app/pages/[...package].vue
··· 979 979 <h2 id="readme-heading" class="group text-xs text-fg-subtle uppercase tracking-wider mb-4"> 980 980 <a 981 981 href="#readme" 982 - class="inline-flex items-center gap-1.5 text-fg-subtle hover:text-fg-muted transition-colors duration-200 no-underline" 982 + class="inline-flex py-4 px-2 items-center gap-1.5 text-fg-subtle hover:text-fg-muted transition-colors duration-200 no-underline" 983 983 > 984 984 {{ $t('package.readme.title') }} 985 985 <span
+5 -5
app/pages/about.vue
··· 53 53 54 54 <section class="prose prose-invert max-w-none space-y-8"> 55 55 <div> 56 - <h2 class="text-xs text-fg-subtle uppercase tracking-wider mb-4"> 56 + <h2 class="text-lg text-fg-subtle uppercase tracking-wider mb-4"> 57 57 {{ $t('about.what_we_are.title') }} 58 58 </h2> 59 59 <p class="text-fg-muted leading-relaxed mb-4"> ··· 82 82 </div> 83 83 84 84 <div> 85 - <h2 class="text-xs text-fg-subtle uppercase tracking-wider mb-4"> 85 + <h2 class="text-lg text-fg-subtle uppercase tracking-wider mb-4"> 86 86 {{ $t('about.what_we_are_not.title') }} 87 87 </h2> 88 88 <ul class="space-y-3 text-fg-muted list-none p-0"> ··· 167 167 </div> 168 168 169 169 <div> 170 - <h2 class="text-xs text-fg-subtle uppercase tracking-wider mb-4"> 171 - {{ $t('about.contributors.title') }} 170 + <h2 class="text-lg text-fg-subtle uppercase tracking-wider mb-4"> 171 + {{ contributors?.length ?? 0 }} {{ $t('about.contributors.title') }} 172 172 </h2> 173 173 <p class="text-fg-muted leading-relaxed mb-6"> 174 174 {{ $t('about.contributors.description') }} ··· 205 205 206 206 <!-- Get Involved CTAs --> 207 207 <div> 208 - <h2 class="text-xs text-fg-subtle uppercase tracking-wider mb-6"> 208 + <h2 class="text-lg text-fg-subtle uppercase tracking-wider mb-6"> 209 209 {{ $t('about.get_involved.title') }} 210 210 </h2> 211 211