Skip to content

Commit a082ae2

Browse files
Merge pull request #101 from build-umass/applyNotifications
Added the mailchimp newsletter integration
2 parents 41f8cec + 4ff9e08 commit a082ae2

File tree

2 files changed

+37
-3
lines changed

2 files changed

+37
-3
lines changed

src/pages/apply.js

+36-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import ParticleJSConfig from '../styles/particlejs_config.json';
1414

1515
export default function apply() {
1616

17-
const APPLICATIONS_OPEN = true;
17+
const APPLICATIONS_OPEN = false;
1818
const { roles, lookingFor, faqs } = content;
1919
const { xs } = useBreakpoint();
2020
const jumbotronHeightPx = 500;
@@ -47,11 +47,44 @@ export default function apply() {
4747
</div>
4848

4949
{/* Body */}
50+
5051
<Container className="mt-5">
51-
5252
<div id="Roles">
53-
<p>Spring applications have concluded, but make sure to check back in Semptember 2025
53+
{ !APPLICATIONS_OPEN && (
54+
<>
55+
<Row>
56+
<Col>
57+
<h1>
58+
Application Openings
59+
</h1>
60+
</Col>
61+
</Row>
62+
<div style = {{
63+
border: '1px solid #e0e0e0',
64+
borderRadius: '10px',
65+
paddingTop: '2rem',
66+
paddingRight: '2rem',
67+
paddingLeft: '2rem',
68+
marginBottom: '2rem',
69+
marginTop: '1rem',
70+
}}>
71+
<p style={{textAlign: "center"}}> The latest application period has closed, but make sure to check back early next semester
5472
for the next application opportunity!</p>
73+
<div className="center">
74+
<div
75+
onClick={() => window.open('http://eepurl.com/i_fS4k', '_blank')}
76+
className="apply-btn"
77+
style = {{marginBottom: "1.5rem", marginTop: "0rem", width: "50%"}}
78+
>
79+
<div>
80+
<span>Notify me</span>
81+
<span>Notify me</span>
82+
</div>
83+
</div>
84+
</div>
85+
</div>
86+
</>
87+
)}
5588
<Row>
5689
<Col>
5790
<h1>

src/styles/style.scss

+1
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ a {
188188
background: $primary-color;
189189
transition-delay: 0.6s;
190190
overflow: hidden;
191+
margin-top: 1rem;
191192

192193
// cool smooth looking hover effect
193194
&::before {

0 commit comments

Comments
 (0)