Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/components/recruitment/SubteamOverlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
>
<div className="box-content text-mobile-body w-[250px] lg:text-[28px] lg:w-[750px] bg-[#1E120A] text-white mx-auto my-12 rounded-[46px] p-5 lg:p-24 lg:px-32">
<div className="relative box-content text-mobile-body w-[250px] lg:text-[28px] lg:w-[750px] bg-[#1E120A] text-white mx-auto my-12 rounded-[46px] p-5 lg:p-24 lg:px-32">
<button
onClick={() => setOverlayId(null)}
className="absolute right-[25px] top-[10px] lg:right-[270px] lg:top-[60px] flex items-center justify-center text-[20px] lg:text-[40px] cursor-pointer"
>
&times;
</button>
<div className="text-[16px] lg:text-[20px]">
<div className="flex items-center justify-center">

<h1 className="font-medium mb-4 lg:mb-0 text-[26px] lg:text-[96px]">
{content.title}
</h1>
Expand Down
8 changes: 8 additions & 0 deletions src/pages/Recruitment.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ function SubteamBox({
bg,
overlayId,
setOverlayId,


}) {
return (
<div className="w-[300px] mb-4 lg:w-[312px] bg-[#2E1B0F] rounded-[46px] flex flex-col items-center py-[10px] text-white h-full">
Expand All @@ -24,13 +26,19 @@ function SubteamBox({
<button
onClick={() => setOverlayId(overlayId)}
className="text-[20px] mt-8 my-4 p-2 px-6 font-semibold rounded-full bg-glass text-[#2E1B0F]"

>
Learn more +

</button>

</div>
)
}




function Recruitment() {
useEffect(() => {
window.scrollTo(0, 0)
Expand Down
Loading