feat(navbar): open dropdown on hover
This commit is contained in:
@@ -136,10 +136,13 @@ export function NavbarClient({ user, role = "partner" }: NavbarClientProps) {
|
|||||||
<div className="h-4 w-px bg-white/10 mx-2" />
|
<div className="h-4 w-px bg-white/10 mx-2" />
|
||||||
|
|
||||||
{currentUser ? (
|
{currentUser ? (
|
||||||
<div className="relative">
|
<div
|
||||||
|
className="relative"
|
||||||
|
onMouseEnter={() => setOpen(true)}
|
||||||
|
onMouseLeave={() => setOpen(false)}
|
||||||
|
>
|
||||||
<Button
|
<Button
|
||||||
variant="outline"
|
variant="outline"
|
||||||
onClick={() => setOpen(!open)}
|
|
||||||
className="border-white/10 hover:bg-white/5 gap-2 text-white"
|
className="border-white/10 hover:bg-white/5 gap-2 text-white"
|
||||||
>
|
>
|
||||||
<UserIcon className="w-4 h-4 text-primary" />
|
<UserIcon className="w-4 h-4 text-primary" />
|
||||||
|
|||||||
Reference in New Issue
Block a user