File tree Expand file tree Collapse file tree 2 files changed +8
-160
lines changed
Expand file tree Collapse file tree 2 files changed +8
-160
lines changed Original file line number Diff line number Diff line change 11"use client" ;
22
33import {
4- BookOpen ,
5- Frame ,
4+ Book ,
5+ Code ,
66 LibrarySquare ,
7- LifeBuoy ,
87 type LucideIcon ,
9- Map ,
10- PieChart ,
11- Send ,
12- Settings2 ,
138 SquareUser ,
149} from "lucide-react" ;
1510import Image from "next/image" ;
1611import * as React from "react" ;
1712
1813import { NavMain } from "@/components/nav-main" ;
19- import { NavProjects } from "@/components/nav-projects" ;
2014import { NavSecondary } from "@/components/nav-secondary" ;
2115import { NavUser } from "@/components/nav-user" ;
2216import {
@@ -63,7 +57,6 @@ const buildNavbar = (
6357) : {
6458 navMain : NavItem [ ] ;
6559 navSecondary : NavItem [ ] ;
66- projects : NavSmallItem [ ] ;
6760} => ( {
6861 navMain : [
6962 {
@@ -107,80 +100,17 @@ const buildNavbar = (
107100 } ,
108101 ] ,
109102 } ,
110- {
111- title : "Documentation" ,
112- url : "#" ,
113- icon : BookOpen ,
114- items : [
115- {
116- title : "Introduction" ,
117- url : "#" ,
118- } ,
119- {
120- title : "Get Started" ,
121- url : "#" ,
122- } ,
123- {
124- title : "Tutorials" ,
125- url : "#" ,
126- } ,
127- {
128- title : "Changelog" ,
129- url : "#" ,
130- } ,
131- ] ,
132- } ,
133- {
134- title : "Settings" ,
135- url : "#" ,
136- icon : Settings2 ,
137- items : [
138- {
139- title : "General" ,
140- url : "#" ,
141- } ,
142- {
143- title : "Team" ,
144- url : "#" ,
145- } ,
146- {
147- title : "Billing" ,
148- url : "#" ,
149- } ,
150- {
151- title : "Limits" ,
152- url : "#" ,
153- } ,
154- ] ,
155- } ,
156103 ] ,
157104 navSecondary : [
158105 {
159- title : "Support" ,
160- url : "#" ,
161- icon : LifeBuoy ,
162- } ,
163- {
164- title : "Feedback" ,
165- url : "#" ,
166- icon : Send ,
167- } ,
168- ] ,
169- projects : [
170- {
171- name : "Design Engineering" ,
172- url : "#" ,
173- icon : Frame ,
174- } ,
175- {
176- name : "Sales & Marketing" ,
177- url : "#" ,
178- icon : PieChart ,
106+ title : "程式碼儲存庫" ,
107+ url : "https://github.com/database-playground" ,
108+ icon : Code ,
179109 } ,
180110 {
181- name : "Travel " ,
182- url : "# " ,
183- icon : Map ,
111+ title : "API 文件 " ,
112+ url : "https://api.dbplay.app " ,
113+ icon : Book ,
184114 } ,
185115 ] ,
186116} ) ;
@@ -221,7 +151,6 @@ export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
221151 </ SidebarHeader >
222152 < SidebarContent >
223153 < NavMain items = { data . navMain } />
224- < NavProjects projects = { data . projects } />
225154 < NavSecondary items = { data . navSecondary } className = "mt-auto" />
226155 </ SidebarContent >
227156 < SidebarFooter >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments