diff --git a/src/components/CareerExplorer.js b/src/components/CareerExplorer.js index aaa3232..5303a32 100644 --- a/src/components/CareerExplorer.js +++ b/src/components/CareerExplorer.js @@ -291,8 +291,28 @@ function CareerExplorer({ handleCareerClick, userState, areaTitle }) { return weightMap[priority][response] || 1; }; + const renderLoadingOverlay = () => { + if (!loading) return null; + return ( +
+
+
+
+
+

+ {progress}% — Loading Career Suggestions... +

+
+
+ ); + }; + return (
+ {renderLoadingOverlay()} {showModal && (