From e34ebfc8aecaade3de78de8056a2f5f9fe29d08e Mon Sep 17 00:00:00 2001 From: Cristian Campos <1928706+camposcristian@users.noreply.github.com> Date: Tue, 22 Dec 2020 16:14:03 +1000 Subject: [PATCH] Closing Mentor Applications (#719) * removing headers to prevent v5 navs. copy changes * Fix code style issues with ESLint * Fix code style issues with stylelint * fixing copy typo * Fix code style issues with ESLint * Update beAMentorForm.js another typo * Update beAMentorForm.js more typos Co-authored-by: Lint Action --- components/beAMentor/beAMentorForm.js | 84 ++++++++++----------- components/beAMentor/heroBanner.module.scss | 1 + components/beAMentor/welcomeBox.js | 2 +- components/beAMentor/yearHeader.js | 3 +- components/positions/jobForm.js | 1 - pages/be-a-mentor/index.js | 27 ++++--- 6 files changed, 62 insertions(+), 56 deletions(-) diff --git a/components/beAMentor/beAMentorForm.js b/components/beAMentor/beAMentorForm.js index 4b138fb9f..8c256ea4c 100644 --- a/components/beAMentor/beAMentorForm.js +++ b/components/beAMentor/beAMentorForm.js @@ -13,56 +13,56 @@ const BeAMentorForm = () => ( src={`${ASSETS_URL}/assets/images/illustrations/speakr@2x.png`} alt="Listen up" /> - Mentor applications are open again! + Hey you! So you wanna be a mentor? - {'We\'ve created '} - - {'IMAGI-NATION{TV}'} - - {` & the IMAGI-NATION{CLASSROOM} experience to put a mentor in - the home every day during the tough times of COVID-19 and beyond. - It’s a daily TV show broadcast live on the internet, and it’s a - gift for teachers, parents and kids to help make sense of today - & imagine tomorrow. Mentoring will naturally be a little different - in this environment but - `} - - we need mentors - -  more than ever! + Mentor applications aren't open just yet as we're + updating our processes. However, you should get a head-start by  + registering your details + {' '} +and creating an AIME account. + Once they're open, we'll notify you so you can complete + your application. - -
- - Trust us when we say,  - - the opportunities when you mentor at AIME are extensive - -  and go further than you would think. - - - {'If you\'re new to mentoring with us,'} - {' '} - sign up + + {'If you\'re new to mentoring with us,'} + {' '} + sign up  below.  - {'If you\'ve mentored before, '} - sign in + {'If you\'ve mentored before, '} + sign in   - {`to your AIME account below. Either way, + {`to your AIME account below. Either way, enter the AIME Universe through the button below and we'll guide you through your mentor application process. Good luck!`} - + + +
- - + + And here's another opportunity! + {' '} + We want to give you the stage to lead AIME on your campus as a student chapter. + We’ll provide you with all the necessary training and tools, and connect you to a global network of change makers, + and dedicated mentors and coaches from AIME via + {' IMAGI-NATION {University}'} + {' '} + {' '} +throughout 2021. + We’ll give you the title of + {' IMAGI-NATION {President}'} +. + Learn more + here +. + ); diff --git a/components/beAMentor/heroBanner.module.scss b/components/beAMentor/heroBanner.module.scss index 883e010d2..b53a7e989 100644 --- a/components/beAMentor/heroBanner.module.scss +++ b/components/beAMentor/heroBanner.module.scss @@ -3,4 +3,5 @@ .heroBannerMentor { background-image: linear-gradient(($watermelon + cc), ($watermelon + cc)), url($cdnRoot + 'assets/images/banner/banner-mentors@2x.jpg'); composes: banner from '../../styles/patterns/patternBanner.module.scss'; + margin: 0; } diff --git a/components/beAMentor/welcomeBox.js b/components/beAMentor/welcomeBox.js index 58f31f041..3c19d9057 100644 --- a/components/beAMentor/welcomeBox.js +++ b/components/beAMentor/welcomeBox.js @@ -18,7 +18,7 @@ const WelcomeBox = () => ( as mentors for marginalised youth and lead a revolution for them to rise up out of inequality. We've been working with Aboriginal and Torres Strait islander kids in Australia - for the past 15 years and in 2020 we're working across Australia, Uganda, South Africa, + for the past 16 years and in 2021 we're working across Australia, Uganda, South Africa, Nigeria and the United States. We understand that what we are fighting for is a global issue, and it takes a united effort to defeat systematic oppression. We are aware that these issues don’t exist just in our diff --git a/components/beAMentor/yearHeader.js b/components/beAMentor/yearHeader.js index 60b95cf0c..ccb4e3fef 100644 --- a/components/beAMentor/yearHeader.js +++ b/components/beAMentor/yearHeader.js @@ -5,7 +5,8 @@ import styles from './yearHeader.module.scss'; const YearHeader = () => (
- {`Bring on ${new Date().getFullYear()},`} + {/* {`Bring on ${new Date().getFullYear()},`} */} + {'Bring on 2021'} <strong> Change is <br /> diff --git a/components/positions/jobForm.js b/components/positions/jobForm.js index 37fe4072f..41e78625b 100644 --- a/components/positions/jobForm.js +++ b/components/positions/jobForm.js @@ -26,7 +26,6 @@ const JobForm = ({ <form className="job-application" acceptCharset="UTF-8" - action="https://formkeep.com/f/50e5b258d8a7" method="POST" > <AboutYouSectionForm handleChange={handleFormFieldChange} values={values} /> diff --git a/pages/be-a-mentor/index.js b/pages/be-a-mentor/index.js index bc08d8bf4..0a61525ec 100644 --- a/pages/be-a-mentor/index.js +++ b/pages/be-a-mentor/index.js @@ -1,5 +1,5 @@ import React from 'react'; -import Layout from '../../hocs/basicLayout'; +import ErrorBoundary from '../../components/common/errorBoundary'; import styles from './be-a-mentor.module.scss'; import BeAMentorForm from '../../components/beAMentor/beAMentorForm'; import WelcomeBox from '../../components/beAMentor/welcomeBox'; @@ -7,16 +7,21 @@ import HeroBanner from '../../components/beAMentor/heroBanner'; import YearHeader from '../../components/beAMentor/yearHeader'; const BeAMentor = () => ( - <Layout> - <HeroBanner /> - <section className={styles.wrapper}> - <div className={styles.container}> - <YearHeader /> - <WelcomeBox /> - <BeAMentorForm /> - </div> - </section> - </Layout> + <div> + <ErrorBoundary> + <main role="main"> + <HeroBanner /> + <section className={styles.wrapper}> + <div className={styles.container}> + <YearHeader /> + <WelcomeBox /> + <BeAMentorForm /> + </div> + </section> + <div id="aime-parent-video-box" /> + </main> + </ErrorBoundary> + </div> );