@@ -24,11 +24,11 @@ const AsideMenuItem: FC<AsideMenuItem> = ({ children, to, active, ...rest }) =>
2424 < NavLink
2525 { ...rest }
2626 className = { ( { isActive } ) => clsx (
27- 'tw: flex tw: items-center tw: gap-2' ,
28- 'tw: no-underline tw: rounded-none tw: px-5 tw: py-2.5' ,
27+ 'flex items-center gap-2' ,
28+ 'no-underline rounded-none px-5 py-2.5' ,
2929 {
30- 'tw: text-white tw: bg-lm-main tw: dark:bg-dm-main' : isActive || active ,
31- 'tw: highlight:bg-lm-secondary tw: highlight:dark:bg-dm-secondary' : ! isActive && ! active ,
30+ 'text-white bg-lm-main dark:bg-dm-main' : isActive || active ,
31+ 'highlight:bg-lm-secondary highlight:dark:bg-dm-secondary' : ! isActive && ! active ,
3232 } ,
3333 ) }
3434 to = { to }
@@ -44,17 +44,17 @@ export const AsideMenu: FC<AsideMenuProps> = ({ routePrefix, showOnMobile = fals
4444 return (
4545 < aside
4646 className = { clsx (
47- 'tw: w-(--aside-menu-width) tw: bg-lm-primary tw: dark:bg-dm-primary' ,
48- 'tw: pt-[15px] tw: md:pt-[30px] tw: pb-[10px]' ,
49- 'tw: fixed! tw: bottom-0 tw: top-(--header-height) tw: z-890 tw: transition-[left] tw: duration-300' ,
50- 'tw: shadow-aside-menu-mobile tw: md:shadow-aside-menu' ,
47+ 'w-(--aside-menu-width) bg-lm-primary dark:bg-dm-primary' ,
48+ 'pt-[15px] md:pt-[30px] pb-[10px]' ,
49+ 'fixed! bottom-0 top-(--header-height) z-890 transition-[left] duration-300' ,
50+ 'shadow-aside-menu-mobile md:shadow-aside-menu' ,
5151 {
52- 'tw: left-0' : showOnMobile ,
53- 'tw: max-md:left-[calc(-1*(var(--aside-menu-width)+35px))]' : ! showOnMobile ,
52+ 'left-0' : showOnMobile ,
53+ 'max-md:left-[calc(-1*(var(--aside-menu-width)+35px))]' : ! showOnMobile ,
5454 } ,
5555 ) }
5656 >
57- < nav className = "tw: flex tw: flex-col tw: h-full" >
57+ < nav className = "flex flex-col h-full" >
5858 < AsideMenuItem to = { buildPath ( '/overview' ) } >
5959 < FontAwesomeIcon fixedWidth icon = { overviewIcon } />
6060 Overview
0 commit comments