Splite docs to developer and user and bring profile link back

This commit is contained in:
Xin Wang
2026-08-07 11:13:45 +08:00
parent 95e04d8c94
commit 7575afaeee
12 changed files with 103 additions and 42 deletions

View File

@@ -16,6 +16,7 @@ import {
Home,
LogOut,
PlayCircle,
User,
Video,
} from "lucide-react";
import { useAuth } from "@/components/auth/AuthProvider";
@@ -279,6 +280,13 @@ export function Sidebar({ collapsed, onToggle }: SidebarProps) {
<Bell size={16} />
</DropdownMenuItem>
<DropdownMenuItem
className="h-10 rounded-xl px-3 font-normal"
onSelect={() => router.push("/profile")}
>
<User size={16} />
</DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuItem
variant="destructive"