Splite docs to developer and user and bring profile link back
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user