@@ -11,6 +11,7 @@ import {
11
11
Bell ,
12
12
CreditCard ,
13
13
RouteIcon ,
14
+ HelpCircle ,
14
15
} from 'lucide-react' ;
15
16
import {
16
17
Sidebar ,
@@ -21,6 +22,7 @@ import {
21
22
SidebarMenu ,
22
23
SidebarMenuButton ,
23
24
SidebarMenuItem ,
25
+ SidebarSeparator ,
24
26
SidebarTrigger ,
25
27
} from '@/components/ui/sidebar' ;
26
28
import {
@@ -58,7 +60,10 @@ export function AppSidebar() {
58
60
// Menu items
59
61
const standardItems : SidebarItemType [ ] = [
60
62
{
61
- title : 'Home' ,
63
+ groupLabel : 'menu' ,
64
+ } ,
65
+ {
66
+ title : 'Dashboard' ,
62
67
url : '/dashboard' ,
63
68
icon : Home ,
64
69
} ,
@@ -109,6 +114,14 @@ export function AppSidebar() {
109
114
url : '/leaderboard/today' ,
110
115
icon : Award ,
111
116
} ,
117
+ {
118
+ groupLabel : 'Support' ,
119
+ } ,
120
+ {
121
+ title : 'Help' ,
122
+ url : '/help' ,
123
+ icon : HelpCircle ,
124
+ } ,
112
125
{
113
126
title : 'Settings' ,
114
127
url : '/settings/profile' ,
@@ -163,8 +176,8 @@ export function AppSidebar() {
163
176
const renderSidebarItem = ( item : SidebarItemType ) => {
164
177
if ( 'groupLabel' in item ) {
165
178
return (
166
- < SidebarGroup key = { item . groupLabel } >
167
- < SidebarGroupLabel className = "px-0 h-fit text-sm font-ubuntutoshi" >
179
+ < SidebarGroup key = { item . groupLabel } className = "mt-2" >
180
+ < SidebarGroupLabel className = "px-0 py-0 h-fit text-sm font-ubuntutoshi" >
168
181
{ item . groupLabel }
169
182
</ SidebarGroupLabel >
170
183
</ SidebarGroup >
@@ -205,7 +218,9 @@ export function AppSidebar() {
205
218
href = { item . url }
206
219
prefetch
207
220
className = { `flex items-center font-ubuntu text-sm py-2 ${
208
- pathname === item . url ? 'bg-black border border-black-75' : ''
221
+ pathname === item . url
222
+ ? 'bg-white text-black border border-black-75'
223
+ : ''
209
224
} `}
210
225
>
211
226
{ item . icon && < item . icon /> }
@@ -223,18 +238,18 @@ export function AppSidebar() {
223
238
224
239
return (
225
240
< Sidebar >
226
- < SidebarContent className = "py-2 " >
241
+ < SidebarContent className = "py-6 " >
227
242
< SidebarGroup >
228
243
< SidebarGroupLabel className = "w-full flex items-center justify-between" >
229
244
< Link
230
245
href = "/dashboard"
231
- className = "text-sm xl:text-xl font-ubuntu hover:text-white duration-300"
246
+ className = "text-sm xl:text-2xl font-ubuntu hover:text-white duration-300"
232
247
prefetch
233
248
>
234
249
meerge
235
250
</ Link >
236
251
</ SidebarGroupLabel >
237
- < SidebarGroupContent className = "mt-8 " >
252
+ < SidebarGroupContent className = "mt-5 " >
238
253
< SidebarMenu >
239
254
{ items . map ( ( item ) => renderSidebarItem ( item ) ) }
240
255
</ SidebarMenu >
0 commit comments