mirror of
https://github.com/dylanbenzi/yellowbird.git
synced 2026-11-27 01:07:01 +00:00
sidebar finished
This commit is contained in:
@@ -56,7 +56,7 @@ function Sidebar() {
|
||||
items: [
|
||||
{
|
||||
link: "/",
|
||||
icon: <LayoutGridIcon height={20} />,
|
||||
icon: <LayoutGridIcon height={20} width={20} />,
|
||||
text: "Dashboard",
|
||||
},
|
||||
{
|
||||
@@ -143,7 +143,10 @@ function Sidebar() {
|
||||
<TooltipTrigger className="w-full">
|
||||
<div
|
||||
key={optionKey}
|
||||
className="flex gap-2 cursor-pointer p-2 hover:bg-neutral-700 rounded-xl"
|
||||
className={cn(
|
||||
isCollapsed ? "justify-center" : "",
|
||||
"flex gap-2 cursor-pointer p-2 hover:bg-neutral-700 rounded-xl"
|
||||
)}
|
||||
onClick={() => handleClick(option.link)}
|
||||
>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user