import PersonalForm from './sections/PersonalForm';
import ExportButton from './components/ExportButton';
import { useCVData } from './hooks/CVContext';

export default function AdminPersonal() {
  const { data, updatePersonal, exportJSON, importJSON, resetToDefault } = useCVData();
  
  return (
    <div className="space-y-6">
      <ExportButton onExport={exportJSON} onImport={importJSON} onReset={resetToDefault} />
      <PersonalForm data={data.personal} onUpdate={updatePersonal} />
    </div>
  );
}