Skip to content

Commit

Permalink
docs(app): wrong links for ui-pro in community section
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Jan 10, 2025
1 parent d5dba0e commit ee4c33c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/app/pages/[...slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ defineOgImageComponent('Docs', {
const communityLinks = computed(() => [{
icon: 'i-lucide-file-pen',
label: 'Edit this page',
to: `https://github.com/nuxt/ui/edit/v3/docs/content/${page?.value?.stem}.md`,
to: `https://github.com/nuxt/${page.value?.module === 'ui-pro' ? 'ui-pro' : 'ui'}/edit/v3/docs/content/${page?.value?.stem}.md`,
target: '_blank'
}, {
icon: 'i-lucide-star',
label: 'Star on GitHub',
to: 'https://github.com/nuxt/ui',
to: `https://github.com/nuxt/${page.value?.module === 'ui-pro' ? 'ui-pro' : 'ui'}`,
target: '_blank'
}])
Expand Down

0 comments on commit ee4c33c

Please sign in to comment.