@@ -36,15 +36,15 @@ AppSchema provides a declarative way to configure:
3636 type: " flex" ,
3737 className: " items-center gap-2 px-3 py-2 rounded-md bg-accent text-accent-foreground" ,
3838 children: [
39- { type: " icon" , name: " LayoutDashboard " , className: " h-4 w-4" },
39+ { type: " icon" , name: " layout-dashboard " , className: " h-4 w-4" },
4040 { type: " text" , content: " Dashboard" , className: " text-sm font-medium" }
4141 ]
4242 },
4343 {
4444 type: " flex" ,
4545 className: " items-center gap-2 px-3 py-2 rounded-md hover:bg-accent/50" ,
4646 children: [
47- { type: " icon" , name: " Users " , className: " h-4 w-4 text-muted-foreground" },
47+ { type: " icon" , name: " users " , className: " h-4 w-4 text-muted-foreground" },
4848 { type: " text" , content: " Contacts" , className: " text-sm" },
4949 { type: " badge" , label: " 128" , variant: " secondary" , className: " ml-auto text-xs" }
5050 ]
@@ -53,7 +53,7 @@ AppSchema provides a declarative way to configure:
5353 type: " flex" ,
5454 className: " items-center gap-2 px-3 py-2 rounded-md hover:bg-accent/50" ,
5555 children: [
56- { type: " icon" , name: " Target " , className: " h-4 w-4 text-muted-foreground" },
56+ { type: " icon" , name: " target " , className: " h-4 w-4 text-muted-foreground" },
5757 { type: " text" , content: " Opportunities" , className: " text-sm" }
5858 ]
5959 },
@@ -63,15 +63,15 @@ AppSchema provides a declarative way to configure:
6363 type: " flex" ,
6464 className: " items-center gap-2 px-3 py-2 rounded-md hover:bg-accent/50" ,
6565 children: [
66- { type: " icon" , name: " Megaphone " , className: " h-4 w-4 text-muted-foreground" },
66+ { type: " icon" , name: " megaphone " , className: " h-4 w-4 text-muted-foreground" },
6767 { type: " text" , content: " Campaigns" , className: " text-sm" }
6868 ]
6969 },
7070 {
7171 type: " flex" ,
7272 className: " items-center gap-2 px-3 py-2 rounded-md hover:bg-accent/50" ,
7373 children: [
74- { type: " icon" , name: " Mail " , className: " h-4 w-4 text-muted-foreground" },
74+ { type: " icon" , name: " mail " , className: " h-4 w-4 text-muted-foreground" },
7575 { type: " text" , content: " Email Templates" , className: " text-sm" }
7676 ]
7777 },
@@ -80,7 +80,7 @@ AppSchema provides a declarative way to configure:
8080 type: " flex" ,
8181 className: " items-center gap-2 px-3 py-2 rounded-md hover:bg-accent/50" ,
8282 children: [
83- { type: " icon" , name: " Settings " , className: " h-4 w-4 text-muted-foreground" },
83+ { type: " icon" , name: " settings " , className: " h-4 w-4 text-muted-foreground" },
8484 { type: " text" , content: " Settings" , className: " text-sm" }
8585 ]
8686 }
@@ -103,16 +103,16 @@ AppSchema provides a declarative way to configure:
103103 type: " flex" ,
104104 className: " items-center gap-3" ,
105105 children: [
106- { type: " icon" , name: " Box " , className: " h-6 w-6 text-primary" },
106+ { type: " icon" , name: " box " , className: " h-6 w-6 text-primary" },
107107 { type: " text" , content: " Acme CRM" , className: " font-semibold text-lg" }
108108 ]
109109 },
110110 {
111111 type: " flex" ,
112112 className: " items-center gap-2" ,
113113 children: [
114- { type: " button" , label: " Quick Actions" , variant: " outline" , size: " sm" , icon: " Zap " },
115- { type: " button" , label: " Notifications" , variant: " ghost" , size: " sm" , icon: " Bell " },
114+ { type: " button" , label: " Quick Actions" , variant: " outline" , size: " sm" , icon: " zap " },
115+ { type: " button" , label: " Notifications" , variant: " ghost" , size: " sm" , icon: " bell " },
116116 {
117117 type: " flex" ,
118118 className: " items-center gap-2 ml-2 pl-2 border-l" ,
@@ -151,7 +151,7 @@ const app: AppSchema = {
151151 {
152152 type: 'item',
153153 label: 'Dashboard',
154- icon: 'LayoutDashboard ',
154+ icon: 'layout-dashboard ',
155155 path: '/dashboard'
156156 }
157157 ],
@@ -214,7 +214,7 @@ interface MenuItem {
214214{
215215 "type" : " item" ,
216216 "label" : " Dashboard" ,
217- "icon" : " LayoutDashboard " ,
217+ "icon" : " layout-dashboard " ,
218218 "path" : " /dashboard" ,
219219 "badge" : " New"
220220}
@@ -225,7 +225,7 @@ interface MenuItem {
225225{
226226 "type" : " group" ,
227227 "label" : " Sales" ,
228- "icon" : " DollarSign " ,
228+ "icon" : " dollar-sign " ,
229229 "children" : [
230230 { "type" : " item" , "label" : " Leads" , "path" : " /leads" },
231231 { "type" : " item" , "label" : " Deals" , "path" : " /deals" }
@@ -275,7 +275,7 @@ const crm: AppSchema = {
275275 {
276276 type: 'item',
277277 label: 'Dashboard',
278- icon: 'LayoutDashboard ',
278+ icon: 'layout-dashboard ',
279279 path: '/dashboard'
280280 },
281281 {
@@ -284,33 +284,33 @@ const crm: AppSchema = {
284284 {
285285 type: 'group',
286286 label: 'Sales',
287- icon: 'DollarSign ',
287+ icon: 'dollar-sign ',
288288 children: [
289289 {
290290 type: 'item',
291291 label: 'Leads',
292- icon: 'Users ',
292+ icon: 'users ',
293293 path: '/leads',
294294 badge: 12
295295 },
296296 {
297297 type: 'item',
298298 label: 'Opportunities',
299- icon: 'Target ',
299+ icon: 'target ',
300300 path: '/opportunities'
301301 },
302302 {
303303 type: 'item',
304304 label: 'Quotes',
305- icon: 'FileText ',
305+ icon: 'file-text ',
306306 path: '/quotes'
307307 }
308308 ]
309309 },
310310 {
311311 type: 'group',
312312 label: 'Marketing',
313- icon: 'Megaphone ',
313+ icon: 'megaphone ',
314314 children: [
315315 {
316316 type: 'item',
@@ -330,7 +330,7 @@ const crm: AppSchema = {
330330 {
331331 type: 'item',
332332 label: 'Settings',
333- icon: 'Settings ',
333+ icon: 'settings ',
334334 path: '/settings',
335335 hidden: '${user.role !== "admin"}'
336336 }
@@ -340,7 +340,7 @@ const crm: AppSchema = {
340340 {
341341 type: 'button',
342342 label: 'Quick Actions',
343- icon: 'Zap ',
343+ icon: 'zap ',
344344 variant: 'outline',
345345 onClick: 'openQuickActions'
346346 },
@@ -353,13 +353,13 @@ const crm: AppSchema = {
353353 {
354354 type: 'item',
355355 label: 'Profile',
356- icon: 'User ',
356+ icon: 'user ',
357357 path: '/profile'
358358 },
359359 {
360360 type: 'item',
361361 label: 'Settings',
362- icon: 'Settings ',
362+ icon: 'settings ',
363363 path: '/settings'
364364 },
365365 {
@@ -368,7 +368,7 @@ const crm: AppSchema = {
368368 {
369369 type: 'item',
370370 label: 'Logout',
371- icon: 'LogOut ',
371+ icon: 'log-out ',
372372 path: '/logout'
373373 }
374374 ]
0 commit comments