From 52148fdd6d7bff36433483ffa6278e3556b9ca36 Mon Sep 17 00:00:00 2001 From: aleung30 Date: Mon, 17 Mar 2025 22:10:50 -0700 Subject: [PATCH] Updated exit button on recruitment overlay --- src/components/recruitment/SubteamOverlay.js | 9 ++++++++- src/pages/Recruitment.js | 8 ++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/components/recruitment/SubteamOverlay.js b/src/components/recruitment/SubteamOverlay.js index 08f4aa0..b538fff 100644 --- a/src/components/recruitment/SubteamOverlay.js +++ b/src/components/recruitment/SubteamOverlay.js @@ -525,9 +525,16 @@ function SubteamOverlay({ setOverlayId, overlayId }) { id="outer-overlay" className="opacity-0 fixed top-0 left-0 h-screen w-screen bg-[#000000b4] z-50 overflow-y-auto transition-opacity duration-500 ease-in-out" > -
+
+
+

{content.title}

diff --git a/src/pages/Recruitment.js b/src/pages/Recruitment.js index 9ccab7f..8403df4 100644 --- a/src/pages/Recruitment.js +++ b/src/pages/Recruitment.js @@ -10,6 +10,8 @@ function SubteamBox({ bg, overlayId, setOverlayId, + + }) { return (
@@ -24,13 +26,19 @@ function SubteamBox({ +
) } + + + function Recruitment() { useEffect(() => { window.scrollTo(0, 0)