[Navitem][s]: add insine style condition
This commit is contained in:
parent
9ea045d16a
commit
98db406793
@ -29,7 +29,7 @@ export default function NavItem({ item }) {
|
||||
onMouseLeave={closeDropdown}
|
||||
target={item.target || '_self'}
|
||||
onClick={() => setshowDropdown(!showDropdown)}
|
||||
className={`${item?.style ? item.style : "text-slate-600 dark:text-slate-400"} inline-flex items-center mr-2 px-1 pt-1 text-sm font-medium hover:text-slate-500`}
|
||||
className={`${item.name.includes("Cloud") ? "text-blue-600 dark:text-blue-400" : "text-slate-600 dark:text-slate-400"} inline-flex items-center mr-2 px-1 pt-1 text-sm font-medium hover:text-slate-500`}
|
||||
>
|
||||
{item.name}
|
||||
</Link>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user