mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-25 17:30:37 +01:00
docs(app): wrong links for ui-pro in community section
This commit is contained in:
@@ -79,12 +79,12 @@ defineOgImageComponent('Docs', {
|
|||||||
const communityLinks = computed(() => [{
|
const communityLinks = computed(() => [{
|
||||||
icon: 'i-lucide-file-pen',
|
icon: 'i-lucide-file-pen',
|
||||||
label: 'Edit this page',
|
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'
|
target: '_blank'
|
||||||
}, {
|
}, {
|
||||||
icon: 'i-lucide-star',
|
icon: 'i-lucide-star',
|
||||||
label: 'Star on GitHub',
|
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'
|
target: '_blank'
|
||||||
}])
|
}])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user