From 18a7054b209a62003709b24493a9ea77ddefd134 Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 14 May 2025 15:27:16 +0000 Subject: [PATCH] Added Loading to CareerExplorer --- src/components/CareerExplorer.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 && (