Skip to content

Commit

Permalink
Clean up unused overlay div
Browse files Browse the repository at this point in the history
  • Loading branch information
amadeuio committed Feb 21, 2024
1 parent 5a16bc5 commit 91cef81
Showing 1 changed file with 20 additions and 26 deletions.
46 changes: 20 additions & 26 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,33 +28,27 @@ function App() {
};

return (
<>
{/* <div className="overlay"></div> */}
<div className="app-container">
<div className="navbar">
<ButtonSwitch
isFormSectionOpen={isFormSectionOpen}
toggleFormSection={toggleFormSection}
/>
<h1>Make Your CV 📃</h1>
</div>

<div className="main-content-container">
<FormDataContext.Provider
value={{
headerObject,
setHeaderObject,
educationArray,
setEducationArray,
experienceArray,
setExperienceArray,
}}>
<FormSection isFormSectionOpen={isFormSectionOpen} />
<CvSection isFormSectionOpen={isFormSectionOpen} />
</FormDataContext.Provider>
</div>
<div className="app-container">
<div className="navbar">
<ButtonSwitch isFormSectionOpen={isFormSectionOpen} toggleFormSection={toggleFormSection} />
<h1>Make Your CV 📃</h1>
</div>
</>

<div className="main-content-container">
<FormDataContext.Provider
value={{
headerObject,
setHeaderObject,
educationArray,
setEducationArray,
experienceArray,
setExperienceArray,
}}>
<FormSection isFormSectionOpen={isFormSectionOpen} />
<CvSection isFormSectionOpen={isFormSectionOpen} />
</FormDataContext.Provider>
</div>
</div>
);
}

Expand Down

0 comments on commit 91cef81

Please sign in to comment.