From e63d5553e36493231d16907badb82d1491839f11 Mon Sep 17 00:00:00 2001 From: sea <45450994+warmthsea@users.noreply.github.com> Date: Wed, 16 Oct 2024 16:52:53 +0800 Subject: [PATCH] docs: fix navigation menu example link (#809) --- .../default/example/NavigationMenuDemo.vue | 18 +++++++++--------- .../new-york/example/NavigationMenuDemo.vue | 19 ++++++++++--------- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/apps/www/src/lib/registry/default/example/NavigationMenuDemo.vue b/apps/www/src/lib/registry/default/example/NavigationMenuDemo.vue index 56222541d..1d5682f54 100644 --- a/apps/www/src/lib/registry/default/example/NavigationMenuDemo.vue +++ b/apps/www/src/lib/registry/default/example/NavigationMenuDemo.vue @@ -12,36 +12,36 @@ import { const components: { title: string, href: string, description: string }[] = [ { title: 'Alert Dialog', - href: '/docs/primitives/alert-dialog', + href: '/docs/components/alert-dialog', description: 'A modal dialog that interrupts the user with important content and expects a response.', }, { title: 'Hover Card', - href: '/docs/primitives/hover-card', + href: '/docs/components/hover-card', description: 'For sighted users to preview content available behind a link.', }, { title: 'Progress', - href: '/docs/primitives/progress', + href: '/docs/components/progress', description: 'Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.', }, { title: 'Scroll-area', - href: '/docs/primitives/scroll-area', + href: '/docs/components/scroll-area', description: 'Visually or semantically separates content.', }, { title: 'Tabs', - href: '/docs/primitives/tabs', + href: '/docs/components/tabs', description: 'A set of layered sections of content—known as tab panels—that are displayed one at a time.', }, { title: 'Tooltip', - href: '/docs/primitives/tooltip', + href: '/docs/components/tooltip', description: 'A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.', }, @@ -76,7 +76,7 @@ const components: { title: string, href: string, description: string }[] = [
  • Introduction
    @@ -102,7 +102,7 @@ const components: { title: string, href: string, description: string }[] = [
  • Typography
    @@ -136,7 +136,7 @@ const components: { title: string, href: string, description: string }[] = [ - + Documentation diff --git a/apps/www/src/lib/registry/new-york/example/NavigationMenuDemo.vue b/apps/www/src/lib/registry/new-york/example/NavigationMenuDemo.vue index 0a9a458ec..aa44735a8 100644 --- a/apps/www/src/lib/registry/new-york/example/NavigationMenuDemo.vue +++ b/apps/www/src/lib/registry/new-york/example/NavigationMenuDemo.vue @@ -12,36 +12,36 @@ import { const components: { title: string, href: string, description: string }[] = [ { title: 'Alert Dialog', - href: '/docs/primitives/alert-dialog', + href: '/docs/components/alert-dialog', description: 'A modal dialog that interrupts the user with important content and expects a response.', }, { title: 'Hover Card', - href: '/docs/primitives/hover-card', + href: '/docs/components/hover-card', description: 'For sighted users to preview content available behind a link.', }, { title: 'Progress', - href: '/docs/primitives/progress', + href: '/docs/components/progress', description: 'Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.', }, { title: 'Scroll-area', - href: '/docs/primitives/scroll-area', + href: '/docs/components/scroll-area', description: 'Visually or semantically separates content.', }, { title: 'Tabs', - href: '/docs/primitives/tabs', + href: '/docs/components/tabs', description: 'A set of layered sections of content—known as tab panels—that are displayed one at a time.', }, { title: 'Tooltip', - href: '/docs/primitives/tooltip', + href: '/docs/components/tooltip', description: 'A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.', }, @@ -72,10 +72,11 @@ const components: { title: string, href: string, description: string }[] = [
  • +
  • Introduction
    @@ -101,7 +102,7 @@ const components: { title: string, href: string, description: string }[] = [
  • Typography
    @@ -135,7 +136,7 @@ const components: { title: string, href: string, description: string }[] = [ - + Documentation