@@ -133,11 +133,11 @@ export default function Header({ isGitHubAuthEnabled }: { readonly isGitHubAuthE
133
133
< div className = "md:hidden" >
134
134
< Button
135
135
onPress = { toggleMobileMenu }
136
- className = "bg-transparent text-slate-300 hover:bg-transparent hover:text-slate-100 focus:outline-hidden"
136
+ className = "flex h-11 w-11 items-center justify-center bg-transparent text-slate-300 hover:bg-transparent hover:text-slate-100 focus:outline-hidden"
137
137
>
138
138
< span className = "sr-only" > Open main menu</ span >
139
139
{ mobileMenuOpen ? (
140
- < FontAwesomeIcon icon = { faTimes } className = "h-6 w-6 " />
140
+ < FontAwesomeIcon icon = { faTimes } size = "2x " />
141
141
) : (
142
142
< FontAwesomeIcon icon = { faBars } className = "h-6 w-6" />
143
143
) }
@@ -153,7 +153,7 @@ export default function Header({ isGitHubAuthEnabled }: { readonly isGitHubAuthE
153
153
>
154
154
< div className = "flex h-full flex-col justify-between gap-1 px-2 pt-2 pb-3" >
155
155
{ /* Logo */ }
156
- < div className = "flex flex-col justify-center gap-1 " >
156
+ < div className = "flex flex-col justify-center gap-5 " >
157
157
< Link href = "/" onClick = { ( ) => setMobileMenuOpen ( false ) } >
158
158
< div className = "flex h-full items-center" >
159
159
< Image
@@ -186,8 +186,8 @@ export default function Header({ isGitHubAuthEnabled }: { readonly isGitHubAuthE
186
186
} )
187
187
. map ( ( link ) =>
188
188
link . submenu ? (
189
- < div key = { link . text } className = "flex flex-col" >
190
- < div className = "block px-3 py-2 font-medium text-slate-700 dark:text-slate-300" >
189
+ < div key = { link . text } className = "flex flex-col gap-2 " >
190
+ < div className = "block px-3 py-3 font-medium text-slate-700 dark:text-slate-300" >
191
191
{ link . text }
192
192
</ div >
193
193
< div className = "ml-4" >
@@ -196,7 +196,7 @@ export default function Header({ isGitHubAuthEnabled }: { readonly isGitHubAuthE
196
196
key = { i }
197
197
href = { sub . href || '/' }
198
198
className = { cn (
199
- 'block w-full px-4 py-2 text-left text-sm text-slate-700 transition duration-150 ease-in-out first:rounded-t-md last:rounded-b-md hover:bg-slate-100 hover:text-slate-900 dark:text-slate-300 dark:hover:bg-slate-700 dark:hover:text-white' ,
199
+ 'block w-full px-4 py-3 text-left text-sm text-slate-700 transition duration-150 ease-in-out first:rounded-t-md last:rounded-b-md hover:bg-slate-100 hover:text-slate-900 dark:text-slate-300 dark:hover:bg-slate-700 dark:hover:text-white' ,
200
200
pathname === sub . href &&
201
201
'bg-blue-50 font-medium text-blue-600 dark:bg-blue-900/20 dark:text-blue-200'
202
202
) }
@@ -212,7 +212,7 @@ export default function Header({ isGitHubAuthEnabled }: { readonly isGitHubAuthE
212
212
key = { link . text }
213
213
href = { link . href || '/' }
214
214
className = { cn (
215
- 'navlink block px-3 py-2 text-slate-700 hover:text-slate-800 dark:text-slate-300 dark:hover:text -slate-200 ' ,
215
+ 'navlink block px-3 py-2 text-slate-700 transition duration-150 ease-in-out hover:bg-slate-100 hover: text-slate-900 dark:text-slate-300 dark:hover:bg -slate-700 dark:hover:text-white ' ,
216
216
pathname === link . href && 'font-bold text-blue-800 dark:text-white'
217
217
) }
218
218
onClick = { toggleMobileMenu }
0 commit comments