import React from 'react'; import { StaffBadge, CertifiedBadge, BugHunterBadge, VerifiedBotBadge } from './Badges'; import { X } from 'lucide-react'; interface FullProfileModalProps { user: { name: string; avatarUrl: string; isBot: boolean; username: string; color: string; theme?: string; bannerUrl?: string; }; onClose: () => void; } const FullProfileModal: React.FC = ({ user, onClose }) => { return (
e.stopPropagation()} // Prevent closing when clicking inside > {/* Banner */}
{/* Close Button */}
{/* Avatar */}
{user.name}
{/* Top Badges */} {user.isBot && (
)} {!user.isBot &&
} {/* Info Card */}
{/* Name Header */}
{user.name} {user.isBot && }
{user.username}
{/* Divider */}
{/* About Me */}
About Me
{user.isBot ? "I am a highly advanced Large Language Model, trained by Google. I can help you with writing, learning, planning, and more. I am designed to be helpful, harmless, and honest." : "Just a human chatting with an AI. Enjoys long walks on the digital beach and dark mode UIs."}
{/* Member Since */}
Member Since
Feb 21, 2024
); }; export default FullProfileModal;