This commit is contained in:
hamid zarghami
2024-12-22 16:59:53 +03:30
parent f925bc9361
commit 75a5149a8d
17 changed files with 705 additions and 492 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ export const SidebarItem: FC<Props> = ({ item }) => {
"bg-secondary-color": item?.route === pathname
})}>
{item?.route === pathname ? item?.activeIcon : item?.icon}
<p className={clsx("font-normal text-base text-secondary-text-color", {
<p className={clsx("font-normal text-sm text-secondary-text-color", {
"!text-primary-text-color": item?.route === pathname
})}>{item?.title}</p>
</Link>
+2 -2
View File
@@ -11,10 +11,10 @@ export const Sidebar = () => {
navigate("/auth/login")
}
return (
<div className="hidden lg:flex bg-auth-form min-w-[318px] max-w-[318px] flex-col items-center py-[42px] gap-y-20">
<div className="hidden lg:flex bg-auth-form min-w-[250px] max-w-[318px] flex-col items-center py-[42px] gap-y-20">
<img src="/svgs/logo/logo.svg" alt="logo" className="auth-logo-size" />
<div className="flex flex-col justify-between h-full bg-auth-form ">
<div className="flex flex-col gap-y-3">
<div className="flex text-xs flex-col gap-y-3">
{sidebarItems?.map((item: SidebarInterface) => <SidebarItem key={item?.name} item={item} />)}
</div>
<div className="w-full flex flex-row gap-x-3 items-center rounded-[20px] p-3 min-w-52 cursor-pointer" onClick={handleExit}>