fix: some duplications and tags

This commit is contained in:
Mahyar Khanbolooki
2025-07-19 18:57:50 +03:30
parent 08a5640016
commit 902623e196
15 changed files with 291 additions and 323 deletions
+9 -4
View File
@@ -11,11 +11,16 @@ export default function SideMenuItem({ href, title, icon, className, children, .
<Link
{...restProps}
href={href}
className={`inline-flex gap-2 ps-8 border-transparent text-disabled-text text-[0.7rem] items-center font-light text-nowrap overflow-hidden h-6
data-[active]:border-s-6 data-[active]:border-black data-[active]:text-black ${className}`}>
className={`
inline-flex gap-2 ps-8 items-center h-6 overflow-hidden text-nowrap
text-[0.7rem] font-light text-disabled-text border-transparent
data-[active]:border-s-6 data-[active]:border-black data-[active]:text-black
${className}
`}
>
{children}
{icon}
<div>{title}</div>
<span className="flex-shrink-0">{icon}</span>
<span>{title}</span>
</Link>
)
}