File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/components/navigation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ const Header = () => {
2525 />
2626 < span > Commit Rocket</ span >
2727 </ Link >
28- < Button color = "secondary" className = "p-2 ml-auto rounded-full md:hidden" onClick = { ( ) => setOpen ( ! open ) } >
28+ < Button color = "secondary" className = "p-2 ml-auto rounded-full md:hidden" aria-expanded = { open } aria-controls = "header-items" onClick = { ( ) => setOpen ( ! open ) } >
2929 < Bars3Icon className = "w-6 h-6" />
3030 </ Button >
31- < div aria-expanded = { open } className = "absolute flex flex-col bg-fill gap-0 p-4 top-full inset-x-4 rounded-md shadow shadow-primary z-10 aria-[expanded='false']:hidden md:aria-[expanded='false']:flex md:flex-row md:items-center md:p-0 md:shadow-none md:static md:bg-transparent md:gap-12" >
31+ < div id = "header-items" className = "absolute flex flex-col bg-fill gap-0 p-4 top-full inset-x-4 rounded-md shadow shadow-primary z-10 aria-[expanded='false']:hidden md:aria-[expanded='false']:flex md:flex-row md:items-center md:p-0 md:shadow-none md:static md:bg-transparent md:gap-12" >
3232 < NavLink href = "/" currentHref = { router . pathname } >
3333 Home
3434 </ NavLink >
You can’t perform that action at this time.
0 commit comments