Fixed icon size and naming

This commit is contained in:
Lucas Oliveira 2023-12-04 16:07:52 -03:00
commit 755f8c6e70
3 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@ interface SidebarNavProps extends React.HTMLAttributes<HTMLElement> {
items: { items: {
href: string; href: string;
title: string; title: string;
Icon: React.FC<React.SVGProps<SVGSVGElement>>; icon: React.ReactNode;
}[]; }[];
} }
@ -38,7 +38,7 @@ export default function SidebarNav({
"justify-start gap-2" "justify-start gap-2"
)} )}
> >
<item.Icon className="w-5 stroke-[1.5]" /> {item.icon}
{item.title} {item.title}
</Link> </Link>
))} ))}

View file

@ -121,7 +121,7 @@ export default function ComponentsComponent({
}} }}
className="underline" className="underline"
> >
Create a New Flow Start Here
</button> </button>
. .
</span> </span>

View file

@ -45,12 +45,12 @@ export default function HomePage(): JSX.Element {
{ {
title: "Flows", title: "Flows",
href: "/flows", href: "/flows",
Icon: Group, icon: <Group className="w-5 stroke-[1.5]" />,
}, },
{ {
title: "Components", title: "Components",
href: "/components", href: "/components",
Icon: ToyBrick, icon: <ToyBrick className="mx-[0.08rem] w-[1.1rem] stroke-[1.5]" />,
}, },
]; ];