import React from 'react' import { motion } from 'framer-motion' import { FaEnvelope, FaPhone, FaBriefcase, FaMapMarkerAlt } from 'react-icons/fa' import { AVATAR_URL } from '@/constants/app.constant' import { Avatar } from '@/components/ui' interface UserProfileCardProps { user: { id: string name: string title: string email?: string phoneNumber?: string department?: string tenantId: string } position?: 'top' | 'bottom' } const UserProfileCard: React.FC = ({ user, position = 'bottom' }) => { return ( {/* Header */}

{user.name}

{user.title}

{/* Contact Info */}
{user.email && (
{user.email}
)} {user.phoneNumber && (
{user.phoneNumber}
)} {user.department && (
{user.department}
)}
{/* Arrow indicator */}
) } export default UserProfileCard