diff --git a/docs/app/components/Header.vue b/docs/app/components/Header.vue index 1530a441..97fbc48f 100644 --- a/docs/app/components/Header.vue +++ b/docs/app/components/Header.vue @@ -89,7 +89,7 @@ const items = computed(() => props.links.map(({ icon, ...link }) => link)) {{ link.title }} - PRO + PRO diff --git a/docs/app/composables/useLinks.ts b/docs/app/composables/useLinks.ts index 0500c11a..107ea8e9 100644 --- a/docs/app/composables/useLinks.ts +++ b/docs/app/composables/useLinks.ts @@ -5,12 +5,11 @@ export function useLinks() { label: 'Docs', icon: 'i-lucide-square-play', to: '/getting-started', - active: route.path.startsWith('/getting-started') + active: route.path.startsWith('/getting-started') || route.path.startsWith('/composables/') || (route.path.startsWith('/components/') && route.name !== 'components') }, { label: 'Components', icon: 'i-lucide-square-code', - to: '/components', - active: route.path.startsWith('/components') + to: '/components' }, { label: 'Pro', icon: 'i-lucide-panels-top-left', diff --git a/docs/app/pages/[...slug].vue b/docs/app/pages/[...slug].vue index afc556e4..6271cfd0 100644 --- a/docs/app/pages/[...slug].vue +++ b/docs/app/pages/[...slug].vue @@ -116,11 +116,15 @@ const communityLinks = computed(() => [{