import { Avatar } from "#/ui/Avatar"; import { ChevronDownIcon } from "@heroicons/react/24/outline"; import Link from "next/link"; type Props = { loginName?: string; displayName?: string; showDropdown: boolean; }; export default function UserAvatar({ loginName, displayName, showDropdown, }: Props) { return (