[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.

fix: reorder link to create package to be before copy (#778)

authored by

Garth de Wet and committed by
GitHub
e6754cdf 920669d3

+14 -10
+10 -8
app/components/Terminal/Install.vue
··· 200 200 <span class="text-fg-subtle font-mono text-sm select-none" 201 201 ># {{ $t('package.create.title') }}</span 202 202 > 203 + <NuxtLink 204 + :to="`/package/${createPackageInfo.packageName}`" 205 + class="text-fg-muted hover:text-fg text-xs transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50 rounded" 206 + :title="$t('package.create.view', { packageName: createPackageInfo.packageName })" 207 + > 208 + <span class="i-carbon:information w-3 h-3 mt-1" aria-hidden="true" /> 209 + <span class="sr-only">{{ 210 + $t('package.create.view', { packageName: createPackageInfo.packageName }) 211 + }}</span> 212 + </NuxtLink> 203 213 </div> 204 214 205 215 <div ··· 227 237 createCopied ? $t('common.copied') : $t('common.copy') 228 238 }}</span> 229 239 </button> 230 - <NuxtLink 231 - :to="`/package/${createPackageInfo.packageName}`" 232 - class="text-fg-subtle hover:text-fg-muted text-xs transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50 rounded" 233 - :title="`View ${createPackageInfo.packageName}`" 234 - > 235 - <span class="i-carbon:arrow-right rtl-flip w-3 h-3" aria-hidden="true" /> 236 - <span class="sr-only">View {{ createPackageInfo.packageName }}</span> 237 - </NuxtLink> 238 240 </div> 239 241 </template> 240 242 </div>
+2 -1
i18n/locales/en.json
··· 193 193 }, 194 194 "create": { 195 195 "title": "Create new project", 196 - "copy_command": "Copy create command" 196 + "copy_command": "Copy create command", 197 + "view": "{packageName} has the same maintainer. Click for more details." 197 198 }, 198 199 "run": { 199 200 "title": "Run",
+2 -1
lunaria/files/en-US.json
··· 193 193 }, 194 194 "create": { 195 195 "title": "Create new project", 196 - "copy_command": "Copy create command" 196 + "copy_command": "Copy create command", 197 + "view": "{packageName} has the same maintainer. Click for more details." 197 198 }, 198 199 "run": { 199 200 "title": "Run",