feat(ui): add cv application frontend and configuration
This commit is contained in:
14
src/admin/AdminEducation.jsx
Normal file
14
src/admin/AdminEducation.jsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import EducationForm from './sections/EducationForm';
|
||||
import ExportButton from './components/ExportButton';
|
||||
import { useCVData } from './hooks/CVContext';
|
||||
|
||||
export default function AdminEducation() {
|
||||
const { data, updateEducation, exportJSON, importJSON, resetToDefault } = useCVData();
|
||||
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<ExportButton onExport={exportJSON} onImport={importJSON} onReset={resetToDefault} />
|
||||
<EducationForm data={data.education} onUpdate={updateEducation} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user