mirror of https://github.com/kortix-ai/suna.git
wip
This commit is contained in:
parent
dac9f752d1
commit
068d308f9d
|
@ -539,17 +539,11 @@ export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
|
|||
</SidebarContent>
|
||||
<SidebarFooter className="border-t border-border/40">
|
||||
{user && (
|
||||
<motion.div
|
||||
whileHover={{ y: -1 }}
|
||||
transition={{ type: "spring", stiffness: 500 }}
|
||||
className="cursor-pointer"
|
||||
>
|
||||
<NavUser user={{
|
||||
name: user.email?.split('@')[0] || 'Guest',
|
||||
email: user.email || '',
|
||||
avatar: '/avatars/user.jpg',
|
||||
}} />
|
||||
</motion.div>
|
||||
)}
|
||||
</SidebarFooter>
|
||||
<CreateProjectDialog
|
||||
|
|
|
@ -80,8 +80,8 @@ export function NavUser({
|
|||
{user.email}
|
||||
</span>
|
||||
</div>
|
||||
<div className="ml-auto p-0.5 rounded-full transition-all duration-200 group-hover:bg-zinc-100 group-active:bg-zinc-200">
|
||||
<IconDotsVertical className="size-3.5 text-zinc-400 transition-all duration-200 group-hover:text-zinc-600 group-active:text-zinc-700" />
|
||||
<div className="ml-auto p-0.5 rounded-full transition-all duration-200 group-hover:bg-zinc-100">
|
||||
<IconDotsVertical className="size-3.5 text-zinc-400 transition-all duration-200 group-hover:text-zinc-600" />
|
||||
</div>
|
||||
</SidebarMenuButton>
|
||||
</DropdownMenuTrigger>
|
||||
|
|
Loading…
Reference in New Issue