import { useState } from 'react'; import { motion } from 'framer-motion'; import { User, Mail, Phone, GraduationCap, BookOpen, Settings, LogOut, Edit3, Camera, Bell, Shield, Star, Calendar, ChevronRight } from 'lucide-react'; import AnimatedContainer from '@/components/AnimatedContainer/AnimatedContainer'; import { StaggerContainer, StaggerItem } from '@/components/AnimatedContainer/AnimatedContainer'; const MOCK_USER = { name: 'Arjun Kumar', rollNo: 'CB.EN.U4CSE25001', department: 'Computer Science & Engineering', semester: '1st Semester', email: 'arjun.kumar@rit.ac.in', phone: '+91 98765 43210', joinedDate: 'August 2025', batch: '2025-2029', }; const ACTIVITY = [ { label: 'Notes Downloaded', value: '12', icon: BookOpen, color: '#F97316' }, { label: 'Questions Asked', value: '3', icon: Star, color: '#8B5CF6' }, { label: 'Events Registered', value: '2', icon: Calendar, color: '#10B981' }, { label: 'AI Queries', value: '48', icon: Shield, color: '#3B82F6' }, ]; const MENU_ITEMS = [ { icon: Bell, label: 'Notifications', badge: '3' }, { icon: BookOpen, label: 'My Downloads', badge: null }, { icon: Star, label: 'Bookmarks', badge: null }, { icon: Settings, label: 'Settings', badge: null }, { icon: Shield, label: 'Privacy & Security', badge: null }, ]; export default function Profile() { const [isEditing, setIsEditing] = useState(false); return (
{/* Header */}
{/* Avatar */}
AK
{/* Info */}

{MOCK_USER.name}

{MOCK_USER.rollNo}

{MOCK_USER.department} ยท {MOCK_USER.batch}

{MOCK_USER.semester} Active Student
{/* Edit button */} setIsEditing(!isEditing)} className="flex items-center gap-2 px-5 py-2.5 rounded-xl text-white text-sm font-semibold border border-white/20 hover:bg-white/10 transition-all" style={{ fontFamily: 'Poppins, sans-serif' }} > Edit Profile
{/* Left */}
{/* Activity Stats */}
{ACTIVITY.map((item, i) => (
{item.value}
{item.label}
))}
{/* Personal Details */}

Personal Information

{[ { icon: User, label: 'Full Name', value: MOCK_USER.name }, { icon: GraduationCap, label: 'Roll Number', value: MOCK_USER.rollNo }, { icon: Mail, label: 'Email', value: MOCK_USER.email }, { icon: Phone, label: 'Phone', value: MOCK_USER.phone }, { icon: BookOpen, label: 'Department', value: MOCK_USER.department }, { icon: Calendar, label: 'Joined', value: MOCK_USER.joinedDate }, ].map((item, i) => (
{item.label}
{item.value}
))}
{/* Right Sidebar */}
{/* Menu */}
{MENU_ITEMS.map((item, i) => (
{item.label}
{item.badge && ( {item.badge} )}
))}
{/* Logout */} Sign Out
); }