import React from 'react'; import { motion, AnimatePresence } from 'framer-motion'; import { SpinnerIcon } from './Icons'; import ProfileHeader from './ProfileHeader'; import ProfileTab from './ProfileTab'; import CVForm from './CVForm'; const ProfilePage = ({ profileData, loading, avatarUrl, photoPreviewUrl, resumeFile, isSaving, saveSuccess, isEditing, isExtracting, showFullProfile, setShowFullProfile, handleEditClick, handleCancelClick, handleProfileChange, handleExperienceChange, handleAddExperience, handleSaveProfile, handleFileChange, handlePhotoChange, }) => { if (loading) { return
Loading Profile...
; } return (
{/* Your Profile Section */}
{/* Right Column - Always visible */}
{isEditing && (
{/* Save and Cancel Buttons */} Cancel {saveSuccess && ( Profile Saved! )} {isSaving && } {isSaving ? 'Saving...' : 'Save Changes'}
)}
); }; export default ProfilePage;