update
This commit is contained in:
@ -17,24 +17,24 @@ const LeftNav = ({
|
||||
return (
|
||||
<div
|
||||
className={
|
||||
"left-nav min-h-[600px] h-full bg-[#d7ecfd] rounded shadow pt-2"
|
||||
"left-nav h-full min-h-[600px] rounded bg-[#d7ecfd] pt-2 shadow"
|
||||
}
|
||||
>
|
||||
<div className={"flex items-center pl-2 h-7"}>
|
||||
<div className={"flex h-7 items-center pl-2"}>
|
||||
<Image src={circle} alt={"circle icon"} height={16} width={16} />
|
||||
<span className={"pl-2"}>{title}</span>
|
||||
</div>
|
||||
{(navigations?.length ?? 0) > 0 && (
|
||||
<div
|
||||
className={`${styles.navContent} mt-3 mx-3 rounded-lg px-2.5 py-[5px]`}
|
||||
className={`${styles.navContent} mx-3 mt-3 rounded-lg px-2.5 py-[5px]`}
|
||||
>
|
||||
<ul className={styles.navItems}>
|
||||
{navigations?.map((navigation) => (
|
||||
<li key={navigation.href}>
|
||||
<Link
|
||||
className={`text-sm px-[9px] h-[34px] flex items-center font-bold transition-all hover:text-[#fff176] hover:text-xs ${
|
||||
className={`flex h-[34px] items-center px-[9px] text-sm font-bold transition-all hover:text-xs hover:text-[#fff176] ${
|
||||
navigation.href === pathname
|
||||
? "text-[#fff176] text-xs"
|
||||
? "text-xs text-[#fff176]"
|
||||
: "text-white"
|
||||
}`}
|
||||
href={navigation.href}
|
||||
|
Reference in New Issue
Block a user