@@ -65,8 +65,8 @@ const Header: React.FC = () => {
6565 < >
6666 < header
6767 className = { `fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${ isScrolled
68- ? 'backdrop-blur-md bg-white/90 dark:bg-gray-900/80 shadow-lg'
69- : 'bg-white dark:bg-gray-900'
68+ ? 'backdrop-blur-md bg-white/90 dark:bg-gray-900/80 shadow-lg'
69+ : 'bg-white dark:bg-gray-900'
7070 } `}
7171 >
7272 < div className = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8" >
@@ -80,7 +80,7 @@ const Header: React.FC = () => {
8080 < img
8181 src = { logo }
8282 alt = "Sugar Labs"
83- className = "h-8 md:h-12 w-auto transition-transform"
83+ className = "h-8 md:h-12 w-auto transition-transform hover:scale-105z "
8484 />
8585 </ Link >
8686
@@ -94,8 +94,8 @@ const Header: React.FC = () => {
9494 < div className = "absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2" >
9595 < span
9696 className = { `block w-6 h-0.5 bg-gray-600 dark:bg-gray-200 transition-all duration-300 ${ isMobileMenuOpen
97- ? 'rotate-45 translate-y-1.5'
98- : 'translate-y-[-4px]'
97+ ? 'rotate-45 translate-y-1.5'
98+ : 'translate-y-[-4px]'
9999 } `}
100100 />
101101 < span
@@ -104,28 +104,15 @@ const Header: React.FC = () => {
104104 />
105105 < span
106106 className = { `block w-6 h-0.5 bg-gray-600 dark:bg-gray-200 transition-all duration-300 mt-1 ${ isMobileMenuOpen
107- ? '-rotate-45 -translate-y-1.5'
108- : 'translate-y-[4px]'
107+ ? '-rotate-45 -translate-y-1.5'
108+ : 'translate-y-[4px]'
109109 } `}
110110 />
111111 </ div >
112112 </ button >
113113
114-
115- { /* Regular links */ }
114+ { /* Desktop Navigation (visible from lg and up) */ }
116115 < nav className = "hidden lg:flex lg:items-center lg:space-x-4" >
117- { navigationData . linksBefore . map ( ( link ) => (
118- < Link
119- key = { link . label }
120- to = { link . path }
121- className = "px-2 lg:px-2 py-2 text-gray-700 dark:text-gray-200 hover:text-blue-600 font-medium rounded-md
122- transition-all duration-200 hover:bg-gray-50 dark:hover:bg-gray-800 text-sm lg:text-sm whitespace-nowrap"
123- onClick = { handleNavigation }
124- >
125- { link . label }
126- </ Link >
127- ) ) }
128- { /* Desktop Navigation (visible from lg and up) */ }
129116 { /* Dropdown menus */ }
130117 { Object . entries ( navigationData . dropdowns ) . map (
131118 ( [ key , dropdown ] ) => (
@@ -154,7 +141,7 @@ const Header: React.FC = () => {
154141 </ Link >
155142 ) ) }
156143
157- < div className = "flex items-center lg:ml-13 gap-3" >
144+ < div className = "flex items-center gap-3" >
158145 < DarkModeToggle />
159146
160147 { /* CTA Button (slightly reduced padding at lg so it fits tighter layouts) */ }
@@ -219,27 +206,14 @@ const MobileNavDrawer: React.FC<{
219206 transition = { { type : 'tween' , duration : 0.3 } }
220207 className = "fixed lg:hidden top-0 right-0 bottom-0 w-[80%] max-w-sm bg-white dark:bg-gray-900 shadow-xl z-40 flex flex-col h-full"
221208 >
222-
223209 < div className = "flex flex-col h-full" >
224210 { /* Space to avoid overlay with main header */ }
225211 < div className = "h-16" />
226212
227213 { /* Scrollable content area */ }
228214 < div className = "flex-1 overflow-y-auto py-2" >
229-
230215 < div className = "space-y-4" >
231216 { /* Dropdown menus */ }
232- { navigationData . linksBefore . map ( ( link ) => (
233- < Link
234- key = { link . label }
235- to = { link . path }
236- onClick = { onClose }
237- className = "block px-4 py-2 text-gray-700 dark:text-gray-200 font-medium rounded-lg
238- hover:bg-gray-50 dark:hover:bg-gray-800 hover:text-blue-600"
239- >
240- { link . label }
241- </ Link >
242- ) ) }
243217 { Object . entries ( navigationData . dropdowns ) . map (
244218 ( [ key , dropdown ] ) => (
245219 < div key = { key } className = "space-y-1 px-2" >
@@ -303,7 +277,7 @@ const MobileNavDrawer: React.FC<{
303277 key = { link . label }
304278 to = { link . path }
305279 onClick = { onClose }
306- className = "block px-4 py-2 text-gray-700 dark:text-gray-200 font-medium rounded-lg
280+ className = "block px-4 py-2 text-gray-700 dark:text-gray-200 font-medium rounded-lg
307281 hover:bg-gray-50 dark:hover:bg-gray-800 hover:text-blue-600"
308282 >
309283 { link . label }
0 commit comments