import { Settings, LogOut, ExternalLink, Monitor, Sun, Moon, User } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover'; import { Separator } from '@/components/ui/separator'; import { useAuth } from '@/context/AuthContext'; import { useLicense } from '@/context/LicenseContext'; import { ProBadge } from './ProBadge'; type Theme = 'light' | 'dark' | 'auto'; interface UserProfileDropdownProps { theme: Theme; setTheme: (theme: Theme) => void; onOpenSettings: () => void; } export function UserProfileDropdown({ theme, setTheme, onOpenSettings }: UserProfileDropdownProps) { const { logout } = useAuth(); const { license, isPro } = useLicense(); return ( {/* User Info */}

admin

{isPro ? : Community}
{/* Navigation Links */}
{license?.status === 'active' && ( Billing )}
{/* Theme Toggle */}

Theme

{/* Documentation Links */} {/* Logout */}
); }