diff --git a/frontend/.prettierignore b/frontend/.prettierignore new file mode 100644 index 0000000..59ea9c5 --- /dev/null +++ b/frontend/.prettierignore @@ -0,0 +1,2 @@ +src/types/* + diff --git a/frontend/src/components/JobMatchAnalysis.tsx b/frontend/src/components/JobMatchAnalysis.tsx index 30d016f..e6a145b 100644 --- a/frontend/src/components/JobMatchAnalysis.tsx +++ b/frontend/src/components/JobMatchAnalysis.tsx @@ -309,95 +309,119 @@ const JobMatchAnalysis: React.FC = (props: JobAnalysisProps) = gap: 1, }} > - {overallScore !== 0 && - = 80 - ? 'Excellent Match' - : overallScore >= 60 + {overallScore !== 0 && ( + + = 80 + ? 'Excellent Match' + : overallScore >= 60 ? 'Good Match' : overallScore >= 40 - ? 'Partial Match' - : 'Low Match' - } - sx={{ - bgcolor: getMatchColor(overallScore), - color: 'white', - fontWeight: 'bold', - }} - /> - - - - {`${Math.round(overallScore)}%`} - + + + + {`${Math.round(overallScore)}%`} + + - - - } - {analyzing && - - Analyzing - - + )} + {analyzing && ( + - + + Analyzing + - - {`${Math.round(percentage)}%`} - + + + + {`${Math.round(percentage)}%`} + + - - } - + + )}