Skip to content

Commit

Permalink
fixed particle overflow on jumbotron
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonava committed Feb 18, 2024
1 parent a526257 commit d46bb77
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
11 changes: 7 additions & 4 deletions src/pages/apply.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,23 @@ export default function apply() {
const { roles, lookingFor, faqs } = content;
const currBreakpoint = useBreakpoint();

const navBarHeightPx = 80;
const jumbotronHeightPx = 500;

return (
<div>
<Particles
params={ParticleJSConfig}
canvasClassName="particlejs"
style={{ position: 'absolute', maxHeight: `${jumbotronHeightPx + navBarHeightPx}px` }}
/>
{/* Jumbotron */}
<div className="bg-gradient">
{/* Navbar */}
<Navbar />
<Container className="pg-jumbotron center">
<div className="center" style={{ height: `${jumbotronHeightPx}px` }}>
<div
className="center"
style={{ flexDirection: 'column'}}
style={{ flexDirection: 'column', maxWidth: '800px' }}
>
<h1 className="pg-heading">
Join Our Amazing Team!
Expand All @@ -43,7 +46,7 @@ export default function apply() {
BUILD is on the lookout for passionate and talented individuals who are eager to make a difference in our community. Are you interested in applying what you have been learning in class to real-world projects in a dynamic team environment? If so, consider applying!
</p>
</div>
</Container>
</div>
</div>
{/* Body */}
<Container className="mt-5">
Expand Down
Binary file added src/public/img/logo/Pinia-Cheat-Sheet.pdf
Binary file not shown.
Binary file not shown.
4 changes: 0 additions & 4 deletions src/styles/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -685,10 +685,6 @@ a {
background: linear-gradient(to right, #a30000, #f44708);
}

.particlejs {
position: absolute;
}

// Projects page
.year-title {
font-weight: 800;
Expand Down

0 comments on commit d46bb77

Please sign in to comment.