Adjust layout

This commit is contained in:
braginini
2023-05-22 15:32:12 +02:00
parent 1cf79d45a8
commit b0a2f744a3
3 changed files with 4 additions and 32 deletions

View File

@@ -79,7 +79,7 @@ function NavigationGroup({ group, className }) {
<li className={clsx('relative mt-6', className)}>
<motion.h2
layout="position"
className="text-xs font-semibold text-zinc-900 dark:text-white"
className="text-s font-semibold text-zinc-900 dark:text-white"
>
{group.title}
</motion.h2>
@@ -104,34 +104,6 @@ function NavigationGroup({ group, className }) {
<NavLink href={link.href} active={link.href === router.pathname}>
{link.title}
</NavLink>
{/*<AnimatePresence mode="popLayout" initial={false}>*/}
{/* {link.href === router.pathname && sections.length > 0 && (*/}
{/* <motion.ul*/}
{/* role="list"*/}
{/* initial={{ opacity: 0 }}*/}
{/* animate={{*/}
{/* opacity: 1,*/}
{/* transition: { delay: 0.1 },*/}
{/* }}*/}
{/* exit={{*/}
{/* opacity: 0,*/}
{/* transition: { duration: 0.15 },*/}
{/* }}*/}
{/* >*/}
{/* {sections.map((section) => (*/}
{/* <li key={section.id}>*/}
{/* <NavLink*/}
{/* href={`${link.href}#${section.id}`}*/}
{/* tag={section.tag}*/}
{/* isAnchorLink*/}
{/* >*/}
{/* {section.title}*/}
{/* </NavLink>*/}
{/* </li>*/}
{/* ))}*/}
{/* </motion.ul>*/}
{/* )}*/}
{/*</AnimatePresence>*/}
</motion.li>
))}
</ul>