mirror of
https://github.com/dylanbenzi/yellowbird.git
synced 2026-11-27 09:17:00 +00:00
sidebar finished
This commit is contained in:
@@ -56,7 +56,7 @@ function Sidebar() {
|
|||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
link: "/",
|
link: "/",
|
||||||
icon: <LayoutGridIcon height={20} />,
|
icon: <LayoutGridIcon height={20} width={20} />,
|
||||||
text: "Dashboard",
|
text: "Dashboard",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -143,7 +143,10 @@ function Sidebar() {
|
|||||||
<TooltipTrigger className="w-full">
|
<TooltipTrigger className="w-full">
|
||||||
<div
|
<div
|
||||||
key={optionKey}
|
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)}
|
onClick={() => handleClick(option.link)}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user