{"version":3,"sources":["webpack:///./src/components/dods.js","webpack:///./src/components/stay-connected-form.js","webpack:///./src/pages/purpose.js"],"names":["props","name","phone","email","name2","title2","phone2","email2","college","title","titlePlain","twoDOD","height","layout","Fragment","href","type","value","className","style","StayConnectedForm","state","sent","error","errorMSG","validEmail","handleSubmit","bind","validateEmail","event","validEmailRegex","RegExp","preventDefault","target","test","this","setState","data","FormData","fetch","method","body","then","resp","json","success","ReactGA","category","action","label","profile","render","paddingBottom","onSubmit","htmlFor","id","required","onChange","overflow","sitekey","in","classNames","enter","enterActive","enterDone","exit","exitActive","exitDone","React","Component","Modal","setAppElement","Intro","updateDimensions","width","window","innerWidth","innerHeight","modalIsOpen","openModal","closeModal","logger","e","currentTarget","textContent","componentDidMount","addEventListener","componentWillUnmount","removeEventListener","pageTitle","pageDesc","windowHeight","minHeight","locationInfo","location","content","itemprop","socialBanner","property","rel","xmlns","viewBox","d","onClick","closeTimeoutMS","isOpen","onRequestClose","contentLabel","overlayClassName","src","closeIcon","alt"],"mappings":"8FAAA,yBAEe,aAACA,GAEd,IAAIC,EAEAC,EACAC,EAEAC,EAAQ,KACRC,EAAS,KACTC,EAAS,KACTC,EAAS,KA2Db,GAzDsB,QAAlBP,EAAMQ,SAKmB,SAAlBR,EAAMQ,SAJfP,EAAO,eACPQ,EAAQ,2BACRP,EAAQ,eACRC,EAAQ,wBAMmB,cAAlBH,EAAMQ,SACfP,EAAO,mBACPQ,EAAQ,4CACRP,EAAQ,eACRC,EAAQ,4BACmB,QAAlBH,EAAMQ,SAAuC,cAAlBR,EAAMQ,SAC1CP,EAAO,eACPQ,EAAQ,oCACRP,EAAQ,eACRC,EAAQ,uBACmB,QAAlBH,EAAMQ,SACfP,EAAO,eACPQ,EAAQ,oCACRP,EAAQ,eACRC,EAAQ,sBAERC,EAAQ,cACRC,EAAS,iCACTC,EAAS,eACTC,EAAS,0BACkB,cAAlBP,EAAMQ,SACfP,EAAO,gBACPQ,EAAQ,iCACRP,EAAQ,eACRC,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MC,EAAE,yXACtF,oOAEF,yBAAKpF,UAAU,WAGjB,yBAAKA,UAAU,SAEb,yIAEA,+OAEA,mVAEA,wMAEA,oEACA,2BAAG,4EACH,wBAAIA,UAAU,WACZ,4BAAI,uBAAGH,KAAK,mCAAmCG,UAAU,aAAaqF,QAASpE,KAAK8C,QAAhF,eACJ,4BAAI,4BAAQ/D,UAAU,qBAAqBqF,QAASpE,KAAK4C,WAArD,qBAGN,kBAAC,IAAD,CAAKvE,QAAQ,YAAYK,OAAO,WAe1C,kBAAC,IAAD,CACE2F,eAAgB,IAChBC,OAAQtE,KAAKd,MAAMyD,YACnB4B,eAAgBvE,KAAK6C,WACrB2B,aAAa,kBACbzF,UAAU,QACV0F,iBAAiB,WAEjB,4BAAQL,QAASpE,KAAK6C,WAAYzB,GAAG,eAAc,yBAAKsD,IAAKC,IAAWC,IAAI,KAA5E,UACA,yBAAK7F,UAAU,QACb,kBAAC,IAAD,CAAMgC,QAAQ,UAAU1C,QAAQ,kC,GA7IT4D,IAAMC","file":"component---src-pages-purpose-js-ed60a15a9c32f9c1b44b.js","sourcesContent":["import React from \"react\";\n\nexport default (props) => {\n\n var name\n var title\n var phone\n var email\n\n var name2 = null;\n var title2 = null;\n var phone2 = null;\n var email2 = null;\n \n if (props.college === 'hhd') {\n name = 'Carlos Leija';\n title = 'Associate Vice President';\n phone = '657-278-4869';\n email = 'cleija@fullerton.edu';\n } else if (props.college === 'arts') {\n name = 'Carlos Leija';\n title = 'Associate Vice President';\n phone = '657-278-4869';\n email = 'cleija@fullerton.edu';\n } else if (props.college === 'athletics') {\n name = 'Jeffrey Gilstrap';\n title = 'Senior Director of Development, Athletics';\n phone = '657-278-4516';\n email = 'jgilstrap@fullerton.edu ';\n } else if (props.college === 'ecs' || props.college === 'arboretum') {\n name = 'Michael Karg';\n title = 'Executive Director of Development';\n phone = '657-278-3348';\n email = 'mkarg@fullerton.edu';\n } else if (props.college === 'nsm') {\n name = 'Michael Karg';\n title = 'Executive Director of Development';\n phone = '657-278-3348';\n email = 'mkarg@fullerton.edu';\n\n name2 = 'Toni Miller';\n title2 = 'Senior Director of Development';\n phone2 = '657-278-3308';\n email2 = 'tamiller@fullerton.edu';\n } else if (props.college === 'education') {\n name = 'Lauren Sieven';\n title = 'Senior Director of Development';\n phone = '657-278-4320';\n email = 'lasieven@fullerton.edu';\n } else if (props.college === 'students' || props.college === 'comm') {\n name = 'Katie McGill';\n title = 'Executive Director of Development';\n phone = '657-278-8231';\n email = 'kmcgill@fullerton.edu';\n } else if (props.college === 'hss') {\n name = 'Melissa Martinez';\n title = 'Senior Director of Development';\n phone = '657-278-4847';\n email = 'melissamartinez@fullerton.edu';\n } else if (props.college === 'cbe') {\n name = 'Chrissy Vaughn';\n title = 'Director of Development';\n email = 'cmvaughn@Fullerton.edu';\n phone = '657-278-7433';\n } else {\n name = 'University Advancement';\n title = null;\n phone = '657-278-5287';\n email = 'giving@fullerton.edu';\n }\n\n if (title) {\n var titlePlain = title;\n var title = {title}
;\n } else {\n title = null;\n }\n\n if (title2) {\n var titlePlain2 = title2;\n var title2 = {title2}
;\n } else {\n title2 = null;\n }\n\n if (name2) {\n var twoDOD = {\n height: 'auto'\n }\n } else {\n var twoDOD = null;\n }\n\n if(props.layout == 2) {\n return (\n \n

For more information about this investment opportunity and how your contribution will be used, contact:

\n

\n {name}
\n {title}\n {email}
\n {phone}\n

\n {name2 &&\n

\n {name2}
\n {title2}\n {email2}
\n {phone2}\n

\n }\n
\n )\n } else if (props.layout == 'name-only') {\n return (\n \n {name}\n \n )\n } else if (props.layout == 'title-only') {\n return (\n \n {titlePlain}\n \n )\n } else if (props.layout == 'email-hidden-input') {\n return (\n \n \n \n )\n } else {\n return (\n \n
\n
\n

\n For more information, contact:
\n {name}
\n {title}\n {phone}   |   {email}\n

\n {name2 &&\n

\n or
\n {name2}
\n {title2}\n {phone2}   |   {email2}\n

\n }\n
\n
\n
\n ) \n }\n} ","import React from \"react\"\nimport { CSSTransition } from 'react-transition-group';\nimport ReactGA from 'react-ga';\nimport ReCAPTCHA from \"react-google-recaptcha\";\n\nexport default class StayConnectedForm extends React.Component {\n constructor() {\n super();\n this.state = {\n sent: false,\n error: false,\n errorMSG: null,\n validEmail: false\n };\n this.handleSubmit = this.handleSubmit.bind(this);\n this.validateEmail = this.validateEmail.bind(this);\n }\n\n validateEmail(event) {\n const validEmailRegex = RegExp(/^(([^<>()\\[\\]\\.,;:\\s@\\\"]+(\\.[^<>()\\[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i);\n\n event.preventDefault();\n const { name, value } = event.target;\n\n if (validEmailRegex.test(value)) {\n this.setState({ validEmail: true });\n } else {\n this.setState({ validEmail: false });\n }\n }\n\n handleSubmit(event) {\n event.preventDefault();\n if (this.state.validEmail) {\n const data = new FormData(event.target);\n \n // fetch('http://uawebstg.fullerton.edu/campaign/_api/index.php', {\n fetch('https://campaign.fullerton.edu/_api/index.php', {\n method: 'POST',\n body: data,\n }).then((resp)=>{ \n return resp.json() \n }).then((json)=>{ \n // console.log(json)\n if(json.success) {\n this.setState({ sent: true });\n ReactGA.event({\n category: 'Form',\n action: 'User completed signup form',\n label: 'Receive Updates (via ' + this.props.profile + ')'\n });\n this.setState({ error: false });\n } else {\n this.setState({ error: true });\n this.setState({ sent: false });\n this.setState({ errorMSG: json.errorMSG });\n }\n });\n // .then((response) => { \n // console.log(response);\n // if(response) {\n // const sentStatus = this.state.sent;\n // this.setState({ sent: !sentStatus });\n // } else {\n // const errorStatus = this.state.error;\n // this.setState({ error: !errorStatus });\n // }\n // });\n } else {\n this.setState({ error: true });\n this.setState({ sent: false });\n this.setState({ errorMSG: 'Please enter a valid email address.' });\n }\n }\n\n render() {\n return (\n \n

Add Some Inspiration to Your Inbox

\n

Sign up for our emails and get updates on this program and others from {this.props.college} delivered directly to you!

\n

Fields marked * are required.

\n
\n {/* \n \n\n \n */}\n\n \n \n \n \n \n \n \n \n Thank you, your email address has been recorded.\n \n \n {this.state.errorMSG}\n \n
\n );\n }\n}","import React from \"react\";\nimport Helmet from 'react-helmet'\nimport Layout from \"../components/layout\";\nimport Form from \"../components/stay-connected-form\";\nimport Modal from 'react-modal';\nimport closeIcon from '../_images/icons/white/close.svg';\nimport ReactGA from 'react-ga';\nimport DOD from '../components/dods';\n\n// import Frame1 from '../_images/profiles/tassel-2.jpg';\n// import Frame2 from '../_images/profiles/tassel-3.jpg';\nimport socialBanner from '../_images/profiles/opportunity-social.jpg';\n\nModal.setAppElement('#___gatsby')\n\nexport default class Intro extends React.Component {\n constructor() {\n super();\n this.state = {\n modalIsOpen: false,\n width: 0,\n height: 0\n };\n this.openModal = this.openModal.bind(this);\n this.closeModal = this.closeModal.bind(this);\n this.logger = this.logger.bind(this);\n this.updateDimensions = this.updateDimensions.bind(this);\n }\n\n openModal() {\n this.setState({modalIsOpen: true});\n ReactGA.event({\n category: 'Button',\n action: 'User clicked CTA',\n label: 'Receive Updates'\n });\n }\n\n closeModal() {\n this.setState({modalIsOpen: false});\n }\n\n logger(e) {\n // ga('send', 'event', 'Button', 'Give Now', 'Campaign Profile');\n ReactGA.event({\n category: 'Button',\n action: 'User clicked CTA',\n label: e.currentTarget.textContent\n });\n }\n\n updateDimensions = () => {\n this.setState({ width: window.innerWidth, height: window.innerHeight });\n };\n\n componentDidMount() {\n this.updateDimensions();\n window.addEventListener('resize', this.updateDimensions);\n }\n \n componentWillUnmount() {\n this.updateDimensions();\n window.removeEventListener('resize', this.updateDimensions);\n }\n\n render() {\n var pageTitle = 'Titan of Purpose';\n var pageDesc = 'At Cal State Fullerton, Karla completed her fourth degree — a doctorate in education — and awakened to social justice.';\n\n // console.log('width: ' + this.state.width );\n var windowHeight = {\n minHeight: this.state.height\n }\n return (\n \n \n \n {pageTitle}\n \n\n \n\n {/* Schema.org markup for Google+ */}\n \n \n \n\n {/* Twitter Card data */}\n \n \n \n\n {/* Open Graph data */}\n \n \n \n \n\n \n \n
\n
\n
\n \n
\n

{pageTitle}

\n
\n
\n \n

“Cal State Fullerton changes the world one student at a time. Professors pressed me forward and showed care through mentoring. My research taught me to recognize injustice and to resist fiercely.”

\n
\n
\n \n
\n
\n\n

Karla Aguirre was raised in fear and uncertainty because of political unrest in her parents’ home country.

\n\n

Education was her path to the American Dream. As a teen parent, she enrolled in community college and persevered to become the first in her family to earn a college degree, paving the way for other relatives.

\n\n

At Cal State Fullerton, Karla completed her fourth degree — a doctorate in education — and awakened to social justice. Through her mentors and research on educational practices in post-apartheid South Africa, she was empowered to fight against marginalization and strive for equity and opportunity for all.

\n\n

Today, Karla lives her purpose as a school counselor and founder of a nonprofit youth mentoring program, modeling resilience and championing an equitable future for all.

\n\n

Be the difference in a Titan's life.

\n

Support the College of Education today.

\n \n\n \n\n
\n
\n \n
\n\n \n\n
\n {/* \"Female */}\n {/* \"Hispanic */}\n \n
\n\n \n \n
\n
\n
\n \n \n
\n
\n );\n }\n}\n"],"sourceRoot":""}