diff --git a/cv-engine/src/App.tsx b/cv-engine/src/App.tsx index fed8c1d..b1b0261 100644 --- a/cv-engine/src/App.tsx +++ b/cv-engine/src/App.tsx @@ -1,5 +1,6 @@ import React from 'react'; import Stepper from './components/Stepper'; +import TemplateSelectionEditor from './editors/TemplateSelectionEditor'; import PersonalEditor from './editors/PersonalEditor'; import WorkEditor from './editors/WorkEditor'; import EducationEditor from './editors/EducationEditor'; @@ -17,6 +18,8 @@ const App: React.FC = () => { // Render the appropriate editor based on the active step const renderEditor = () => { switch (activeStep) { + case 'template': + return ; case 'personal': return ; case 'work': @@ -30,7 +33,7 @@ const App: React.FC = () => { case 'finalize': return
Finalize step will be implemented in M5
; default: - return ; + return ; } }; @@ -48,17 +51,25 @@ const App: React.FC = () => {
-
- {/* Editor Panel */} -
+ {activeStep === 'template' ? ( + // Full-screen template selection +
{renderEditor()}
- - {/* Preview Panel */} -
- + ) : ( + // Two-column layout for other steps +
+ {/* Editor Panel */} +
+ {renderEditor()} +
+ + {/* Preview Panel */} +
+ +
-
+ )}