diff --git a/frontend/src/pages/JobAnalysisPage.tsx b/frontend/src/pages/JobAnalysisPage.tsx index 1615b16..b5705e8 100644 --- a/frontend/src/pages/JobAnalysisPage.tsx +++ b/frontend/src/pages/JobAnalysisPage.tsx @@ -36,6 +36,7 @@ import { CandidateInfo } from 'components/CandidateInfo'; import { ComingSoon } from 'components/ui/ComingSoon'; import { JobManagement } from 'components/JobManagement'; import { LoginRequired } from 'components/ui/LoginRequired'; +import { Scrollable } from 'components/Scrollable'; // Main component const JobAnalysisPage: React.FC = (props: BackstoryPageProps) => { @@ -257,82 +258,78 @@ const JobAnalysisPage: React.FC = (props: BackstoryPageProps } return ( - - - - Candidate Analysis - - {selectedCandidate && } + + {selectedCandidate && } + + Match candidates to job requirements with AI-powered analysis - - - - - {steps.map(step => ( - - ( - = step.index ? theme.palette.primary.main : theme.palette.grey[300], - color: 'white' - }} + + + + {steps.map(step => ( + + ( + = step.index ? theme.palette.primary.main : theme.palette.grey[300], + color: 'white' + }} + > + {step.icon} + + ) + }} > - {step.icon} - - ) - }} - > - {step.label} - - - ))} - - - - {activeStep === 0 && renderCandidateSelection()} - {activeStep === 1 && renderJobDescription()} - {activeStep === 2 && renderAnalysis()} - {activeStep === 3 && renderResume()} - - - - - - {activeStep === steps[steps.length - 1].index ? ( - - ) : ( - - )} - - - {/* Error Snackbar */} - setError(null)} - anchorOrigin={{ vertical: 'bottom', horizontal: 'center' }} - > - setError(null)} severity="error" sx={{ width: '100%' }}> - {error} - - + {step.label} + + + ))} + + - - ); + {activeStep === 0 && renderCandidateSelection()} + {activeStep === 1 && renderJobDescription()} + {activeStep === 2 && renderAnalysis()} + {activeStep === 3 && renderResume()} + + + + + + {activeStep === steps[steps.length - 1].index ? ( + + ) : ( + + )} + + + {/* Error Snackbar */} + setError(null)} + anchorOrigin={{ vertical: 'bottom', horizontal: 'center' }} + > + setError(null)} severity="error" sx={{ width: '100%' }}> + {error} + + + + ); }; export { JobAnalysisPage }; \ No newline at end of file