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

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