Skip to content

Commit 6b890c3

Browse files
committed
replace github icon
1 parent 13a80d1 commit 6b890c3

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

app/components/AppHeader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const mobileLinks = computed<NavigationConfigWithGroups>(() => [
9898
target: '_blank',
9999
type: 'link',
100100
external: true,
101-
iconClass: 'i-carbon:logo-github',
101+
iconClass: 'i-simple-icons:github',
102102
},
103103
{
104104
name: 'Social',

app/components/CallToAction.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const socialLinks = computed(() => [
33
{
44
id: 'github',
55
href: 'https://repo.npmx.dev',
6-
icon: 'i-carbon:logo-github',
6+
icon: 'i-simple-icons:github',
77
titleKey: $t('about.get_involved.contribute.title'),
88
descriptionKey: $t('about.get_involved.contribute.description'),
99
ctaKey: $t('about.get_involved.contribute.cta'),

app/pages/package/[[org]]/[name].vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ const repositoryUrl = computed(() => {
395395
const { meta: repoMeta, repoRef, stars, starsLink, forks, forksLink } = useRepoMeta(repositoryUrl)
396396
397397
const PROVIDER_ICONS: Record<string, string> = {
398-
github: 'i-carbon:logo-github',
398+
github: 'i-simple-icons:github',
399399
gitlab: 'i-simple-icons:gitlab',
400400
bitbucket: 'i-simple-icons:bitbucket',
401401
codeberg: 'i-simple-icons:codeberg',
@@ -409,7 +409,7 @@ const PROVIDER_ICONS: Record<string, string> = {
409409
410410
const repoProviderIcon = computed(() => {
411411
const provider = repoRef.value?.provider
412-
if (!provider) return 'i-carbon:logo-github'
412+
if (!provider) return 'i-simple-icons:github'
413413
return PROVIDER_ICONS[provider] ?? 'i-lucide:code'
414414
})
415415

app/pages/settings.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ const setLocale: typeof setNuxti18nLocale = locale => {
254254
rel="noopener noreferrer"
255255
class="inline-flex items-center gap-2 text-sm text-fg-muted hover:text-fg transition-colors duration-200 focus-visible:outline-accent/70 rounded"
256256
>
257-
<span class="i-carbon:logo-github w-4 h-4" aria-hidden="true" />
257+
<span class="i-simple-icons:github w-4 h-4" aria-hidden="true" />
258258
{{ $t('settings.help_translate') }}
259259
</a>
260260
</template>

0 commit comments

Comments
 (0)