mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-28 15:14:12 +00:00
182 lines
3.9 KiB
TypeScript
182 lines
3.9 KiB
TypeScript
import { MainNavItem, SidebarNavItem } from "types/nav"
|
|
|
|
interface DocsConfig {
|
|
mainNav: MainNavItem[]
|
|
sidebarNav: SidebarNavItem[]
|
|
}
|
|
|
|
export const docsConfig: DocsConfig = {
|
|
mainNav: [
|
|
{
|
|
title: "Documentation",
|
|
href: "/docs",
|
|
},
|
|
{
|
|
title: "Components",
|
|
href: "/docs/primitives/accordion",
|
|
},
|
|
{
|
|
title: "GitHub",
|
|
href: "https://github.com/shadcn/ui",
|
|
external: true,
|
|
},
|
|
{
|
|
title: "Twitter",
|
|
href: "https://twitter.com/shadcn",
|
|
external: true,
|
|
},
|
|
],
|
|
sidebarNav: [
|
|
{
|
|
title: "Getting Started",
|
|
items: [
|
|
{
|
|
title: "Introduction",
|
|
href: "/docs",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Installation",
|
|
href: "/docs/installation",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Typography",
|
|
href: "/docs/primitives/typography",
|
|
items: [],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Components",
|
|
items: [
|
|
{
|
|
title: "Accordion",
|
|
href: "/docs/primitives/accordion",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Alert Dialog",
|
|
href: "/docs/primitives/alert-dialog",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Aspect Ratio",
|
|
href: "/docs/primitives/aspect-ratio",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Avatar",
|
|
href: "/docs/primitives/avatar",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Button",
|
|
href: "/docs/primitives/button",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Checkbox",
|
|
href: "/docs/primitives/checkbox",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Collapsible",
|
|
href: "/docs/primitives/collapsible",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Context Menu",
|
|
href: "/docs/primitives/context-menu",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Dialog",
|
|
href: "/docs/primitives/dialog",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Dropdown Menu",
|
|
href: "/docs/primitives/dropdown-menu",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Hover Card",
|
|
href: "/docs/primitives/hover-card",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Input",
|
|
href: "/docs/primitives/input",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Label",
|
|
href: "/docs/primitives/label",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Menubar",
|
|
href: "/docs/primitives/menubar",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Popover",
|
|
href: "/docs/primitives/popover",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Progress",
|
|
href: "/docs/primitives/progress",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Radio Group",
|
|
href: "/docs/primitives/radio-group",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Scroll Area",
|
|
href: "/docs/primitives/scroll-area",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Select",
|
|
href: "/docs/primitives/select",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Separator",
|
|
href: "/docs/primitives/separator",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Slider",
|
|
href: "/docs/primitives/slider",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Switch",
|
|
href: "/docs/primitives/switch",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Tabs",
|
|
href: "/docs/primitives/tabs",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Textarea",
|
|
href: "/docs/primitives/textarea",
|
|
items: [],
|
|
},
|
|
{
|
|
title: "Tooltip",
|
|
href: "/docs/primitives/tooltip",
|
|
items: [],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
}
|