Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix(web): use logout icon instead of avatar for user menu trigger

Genereb1ab66e4b00
diff --git a/src/web/src/components/nav-user.tsx b/src/web/src/components/nav-user.tsx
index 7f86de0d5..445207fb7 100644
--- a/src/web/src/components/nav-user.tsx
+++ b/src/web/src/components/nav-user.tsx
@@ -34,16 +34,11 @@ export function NavUser() {
<button
type="button"
title={user.name ?? user.email ?? "Account"}
- className="flex items-center justify-center size-10 rounded-xl transition-colors duration-200 cursor-pointer hover:bg-accent"
+ className="flex items-center justify-center size-10 rounded-xl text-muted-foreground hover:text-foreground hover:bg-accent transition-colors duration-200 cursor-pointer"
/>
}
>
- <Avatar className="size-7">
- {user.image && (
- <AvatarImage src={user.image} alt={user.name ?? ""} />
- )}
- <AvatarFallback className="text-xs">{initials}</AvatarFallback>
- </Avatar>
+ <LogOut className="size-4" />
</DropdownMenuTrigger>
<DropdownMenuContent
className="min-w-52 rounded-lg"