Skip to content

Commit

Permalink
Merge pull request #167 from FalkorDB/styling-navbar
Browse files Browse the repository at this point in the history
fix #166 add falkorDB next to the menu button
  • Loading branch information
AviAvni authored Apr 10, 2024
2 parents 858a7f1 + 439c16e commit 48d30c5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/custom/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,11 @@ export default function Navbar({ collapsed, onExpand }: { collapsed: boolean, on
return (
<nav className={`w-full h-full bg-gray-100 dark:bg-gray-800 py-7 flex flex-col justify-between ${collapsed ? "items-center" : "justify-start"}`}>
<div className={`${!collapsed && "pl-2"}`}>
<Link href="" onClick={onExpand}>
<Link className="flex flex-row gap-2 underline underline-offset-2" href="" onClick={onExpand}>
<Menu className="h-6 w-6" />
{!collapsed && (
<p>FalkorDB</p>
)}
</Link>
{status === "authenticated" &&
<ul className="flex flex-col gap-5 pt-5">
Expand Down

0 comments on commit 48d30c5

Please sign in to comment.