This commit is contained in:
tangly1024
2023-03-23 22:58:33 +08:00
parent 0b4b33907b
commit 7d63762b62
6 changed files with 10 additions and 10 deletions

View File

@@ -31,7 +31,7 @@ export const MenuItemDrop = ({ link }) => {
{link.subMenus.map(sLink => {
return <li key={sLink.id} className='cursor-pointer hover:bg-indigo-300 text-gray-900 hover:text-black tracking-widest transition-all duration-200 dark:border-gray-800 py-1 pr-6 pl-2'>
<Link href={sLink.to}>
<span className='text-sm text-nowrap'>{sLink.title}</span>
<span className='text-sm text-nowrap font-extralight'>{link?.icon && <i className={sLink?.icon} > &nbsp; </i>}{sLink.title}</span>
</Link>
</li>
})}