Skip to content

Commit

Permalink
Add mentor interest form
Browse files Browse the repository at this point in the history
  • Loading branch information
ericyche committed Nov 22, 2023
1 parent daaa3fb commit 7da6162
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ function App() {
}
<ExternalRedirect path="/apply" target={ urls.applicationForm } />
<ExternalRedirect path="/interest" target={ urls.interestForm } />
<ExternalRedirect path="/mentorInterest" target={ urls.mentorInterestForm } />
<ExternalRedirect path="/scheduler" target={ urls.scheduler } />
<ExternalRedirect path="/facebook" target={ urls.facebook } />
<ExternalRedirect path="/github" target={ urls.github } />
Expand Down
1 change: 1 addition & 0 deletions src/data/urls.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"applicationForm": "https://tinyurl.com/csm-fa23-app",
"interestForm": "https://tinyurl.com/sp24-student-interest",
"mentorInterestForm": "https://tinyurl.com/sp24-mentor-interest",
"scheduler": "https://scheduler.csmentors.org",
"facebook": "https://www.facebook.com/BerkeleyCSM/",
"github": "https://github.com/csmberkeley",
Expand Down
11 changes: 11 additions & 0 deletions src/labels/MentorLabels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,17 @@ export const SECTIONS = {
APPLICATIONS_CLOSED: {
LABEL:
"Applications have closed for this semester; check back at the end of the semester!",
BODY_JSX: (
<span>
<p className="info">
In the meantime, please fill out{" "}
<Link to="/mentorInterest">
this interest form for the Spring 2024 semester
</Link>{" "}
if you are interested in becoming a mentor.
</p>
</span>
),
},
};

Expand Down
1 change: 1 addition & 0 deletions src/pages/Mentors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export default class Mentors extends React.Component {
<h6 className="sublabel">
{Labels.SECTIONS.APPLICATIONS_CLOSED.LABEL}
</h6>
{Labels.SECTIONS.APPLICATIONS_CLOSED.BODY_JSX}
</div>
);
}
Expand Down

0 comments on commit 7da6162

Please sign in to comment.