Skip to content

Commit 4f08f0a

Browse files
committed
fix: use ~ in preference to @ for npm users
1 parent 558f697 commit 4f08f0a

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

app/components/OrgMembersPanel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ watch(lastExecutionTime, () => {
433433
:to="{ name: '~username', params: { username: member.name } }"
434434
class="font-mono text-sm text-fg hover:text-fg transition-colors duration-200"
435435
>
436-
@{{ member.name }}
436+
~{{ member.name }}
437437
</NuxtLink>
438438
<span
439439
class="px-1.5 py-0.5 font-mono text-xs border rounded"

app/components/OrgTeamsPanel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ watch(lastExecutionTime, () => {
423423
:to="{ name: '~username', params: { username: user } }"
424424
class="font-mono text-sm text-fg-muted hover:text-fg transition-colors duration-200"
425425
>
426-
@{{ user }}
426+
~{{ user }}
427427
</NuxtLink>
428428
<span class="font-mono text-sm text-fg">{{ teamName }}</span>
429429
<button

app/components/PackageCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const isExactMatch = computed(() => {
8787
class="flex items-center gap-1.5"
8888
>
8989
<dt class="sr-only">{{ $t('package.card.publisher') }}</dt>
90-
<dd class="font-mono">@{{ result.package.publisher.username }}</dd>
90+
<dd class="font-mono">{{ result.package.publisher.username }}</dd>
9191
</div>
9292
<div v-if="result.package.date" class="flex items-center gap-1.5">
9393
<dt class="sr-only">{{ $t('package.card.updated') }}</dt>

app/pages/~[username]/orgs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ defineOgImageComponent('Default', {
130130
}}</span>
131131
</div>
132132
<div>
133-
<h1 class="font-mono text-2xl sm:text-3xl font-medium">@{{ username }}</h1>
133+
<h1 class="font-mono text-2xl sm:text-3xl font-medium">~{{ username }}</h1>
134134
<p class="text-fg-muted text-sm mt-1">{{ $t('user.orgs_page.title') }}</p>
135135
</div>
136136
</div>

0 commit comments

Comments
 (0)