1"use strict";(self.webpackChunkMakeSPP=self.webpackChunkMakeSPP||[]).push([[951],{2950:function(e,t,n){n.d(t,{DT:function(){return l},TR:function(){return r},bT:function(){return o},im:function(){return i},PO:function(){return u},II:function(){return c},Ph:function(){return s},__:function(){return m},vQ:function(){return d},gx:function(){return p}});var a=n(9),l=a.default.button.withConfig({displayName:"styles__RegisterButton",componentId:"sc-w8dmj0-0"})(["display:inline-block;cursor:pointer;font-size:16pt;padding:10px;border:none;border-radius:10px;min-width:150px;transition:all 0.5s ease;background:#DCDCDC;color:#666;:hover{background:#ca043f;}@media only screen and (max-width:640px){font-size:8pt;}"]),r=a.default.img.withConfig({displayName:"styles__Logo",componentId:"sc-w8dmj0-1"})(["display:block;margin-left:auto;margin-right:auto;max-height:200px;padding-bottom:50px;"]),o=a.default.div.withConfig({displayName:"styles__Wrapper1",componentId:"sc-w8dmj0-2"})(["text-align:center;margin-left:5%;margin-right:5%;"]),i=a.default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-w8dmj0-3"})(["text-align:center;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);"]),u=a.default.div.withConfig({displayName:"styles__Details",componentId:"sc-w8dmj0-4"})(["h1{font-size:30pt;}p{font-size:15pt;font-weight:bold;line-height:1.5;margin-left:auto;margin-right:auto;max-width:500px;}"]),c=a.default.input.withConfig({displayName:"styles__Input",componentId:"sc-w8dmj0-5"})(["font-size:12pt;padding:10px;text-align:center;background:#DCDCDC;border:2px solid #DCDCDC;border-radius:10px;max-width:400px;width:100%;@media only screen and (max-width:960px){font-size:10pt;}@media only screen and (max-width:640px){font-size:8pt;}&:hover{border:2px solid #ca043f;}"]),s=a.default.select.withConfig({displayName:"styles__Select",componentId:"sc-w8dmj0-6"})(["color:#666666;font-size:12pt;padding:10px;text-align:center;background:#DCDCDC;width:100%;border:2px solid #DCDCDC;appearance:none;-webkit-appearance:none;border-radius:10px;transition:all 300ms ease hover;&:hover{border:2px solid #ca043f;}"]),m=(a.default.button.withConfig({displayName:"styles__Submit",componentId:"sc-w8dmj0-7"})(["font-size:24px;padding:10px;border:3px solid #ca043f;background:#fff;width:30%;margin:20px;border-radius:5px;transition:all 300ms ease;&:hover{border:3px solid #ca043f;background:#ca043f;color:#e4e4e4;cursor:pointer;}"]),a.default.p.withConfig({displayName:"styles__Label",componentId:"sc-w8dmj0-8"})(["margin:0 0 10px 0;padding:0;font-size:24px;color:white;"])),d=a.default.p.withConfig({displayName:"styles__SubLabel",componentId:"sc-w8dmj0-9"})(["margin:0;padding:0;font-size:14px;max-width:600px;margin-left:auto;margin-right:auto;color:white;"]),p=a.default.textarea.withConfig({displayName:"styles__Textarea",componentId:"sc-w8dmj0-10"})(["height:100px;padding:10px;border:5px solid #DCDCDC;border-radius:10px;transition:all 300ms ease hover;width:60%;font-size:12px;&:focus{border:5px solid #ca043f;}"])},8577:function(e,t,n){n.r(t),n.d(t,{default:function(){return d}});var a=n(7294);var l=n(1721),r=n(1597),o=n(2950),i=n(3100),u=(n(8037),function(e,t){return function(){var n;return(n={})[e]=t,n}}),c=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={name:"",email:"",school:"",year:"",gender:"",skill_level:"",why:"",team:"",dietary:"",shirt:"",online:"",time:""},n.handleSubmit=n.handleSubmit.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n)),n}(0,l.Z)(t,e);var n=t.prototype;return n.handleSubmit=function(e){console.log(this.state);var t=new FormData(e.target);fetch("https://script.google.com/macros/s/AKfycbyOWWQ2c2otCdwYTTP2axCLTTkBrPES9LSWzko9XCxXSvYlCdCo-o3yqs7tKW3yxGy_eg/exec",{method:"POST",body:t}).then((function(e){return console.log("success!",e)})).catch((function(e){return console.error("error!",e.message)})),e.preventDefault(),(0,r.navigate)("/submitted")},n.render=function(){var e=this;return a.createElement("form",{onSubmit:this.handleSubmit},a.createElement("br",null),a.createElement("br",null),a.createElement("br",null),a.createElement(o.bT,null,a.createElement(r.Link,{to:"/"},a.createElement(o.TR,{src:"/logo.svg"})),a.createElement(i.X2,null,a.createElement(i.JX,null,a.createElement(o.II,{type:"text",name:"name",placeholder:"Full Name",value:this.state.name,required:!0,onChange:function(t){return e.setState(u("name",t.target.value))}})),a.createElement(i.JX,null,a.createElement(o.II,{type:"text",name:"email",placeholder:"Email",value:this.state.email,required:!0,onChange:function(t){return e.setState(u("email",t.target.value))}})),a.createElement(i.JX,null,a.createElement(o.II,{type:"text",name:"school",placeholder:"School",value:this.state.school,required:!0,onChange:function(t){return e.setState(u("school",t.target.value))}}))),a.createElement(i.X2,null,a.createElement(i.JX,null,a.createElement("br",null),a.createElement(o.Ph,{name:"year",value:this.state.year,onChange:function(t){return e.setState(u("year",t.target.value))}},a.createElement("option",{value:"",disabled:!0,selected:!0},"Grade Level"),a.createElement("option",null,"7th"),a.createElement("option",null,"8th"),a.createElement("option",null,"9th"),a.createElement("option",null,"10th"),a.createElement("option",null,"11th"),a.createElement("option",null,"12th"))),a.createElement(i.JX,null,a.createElement("br",null),a.createElement(o.Ph,{name:"gender",value:this.state.gender,onCh
1ange:function(t){return e.setState(u("gender",t.target.value))}},a.createElement("option",{value:"",disabled:!0,selected:!0},"Gender"),a.createElement("option",null,"Female"),a.createElement("option",null,"Male"),a.createElement("option",null,"Nonbinary"),a.createElement("option",null,"Other"),a.createElement("option",null,"Prefer not to say"))),a.createElement(i.JX,null,a.createElement("br",null),a.createElement(o.Ph,{name:"skill_level",value:this.state.skill_level,onChange:function(t){return e.setState(u("skill_level",t.target.value))}},a.createElement("option",{value:"",disabled:!0,selected:!0},"Hackathon Experience"),a.createElement("option",null,"Beginner (never attended a hackathon)"),a.createElement("option",null,"Intermediate (familiar with hackathons)"),a.createElement("option",null,"Expert (attended many hackathons)")))),a.createElement("br",null),a.createElement(i.X2,null,a.createElement(i.JX,null,a.createElement(o.__,null,"Why do you want to attend MakeSPP?"),a.createElement(o.vQ,null,"Share a few sentences on what you'd like to learn or build at MakeSPP."),a.createElement("br",null),a.createElement(o.gx,{name:"why",type:"text",placeholder:"",value:this.state.why,required:!0,onChange:function(t){return e.setState(u("why",t.target.value))}}))),a.createElement("br",null),a.createElement(i.X2,null,a.createElement(i.JX,null,a.createElement(o.vQ,null,"If you have a team, enter members here. Make sure they sign up too! If you don't have a team yet, don't worry, there will be a team formation session at the beginning of MakeSPP."),a.createElement("br",null),a.createElement(o.II,{type:"text",name:"team",placeholder:"Team Members",value:this.state.team,onChange:function(t){return e.setState(u("team",t.target.value))}})," ")),a.createElement("br",null),a.createElement(i.X2,null,a.createElement(i.JX,null,a.createElement(o.II,{type:"text",name:"dietary",placeholder:"Dietary Choices/Allergies",value:this.state.dietary,onChange:function(t){return e.setState(u("dietary",t.target.value))}})," "),a.createElement(i.JX,null,a.createElement(o.Ph,{name:"shirt",value:this.state.shirt,required:!0,onChange:function(t){return e.setState(u("shirt",t.target.value))}},a.createElement("option",{value:"",disabled:!0,selected:!0},"T-Shirt Size (Adult)"),a.createElement("option",null,"S"),a.createElement("option",null,"M"),a.createElement("option",null,"L"),a.createElement("option",null,"XL"))),a.createElement(i.JX,null,a.createElement(o.II,{name:"online",type:"text",placeholder:"Website, GitHub, Devpost...",value:this.state.online,onChange:function(t){return e.setState(u("online",t.target.value))}}))),a.createElement("br",null),a.createElement(o.DT,{type:"submit"},"Submit")),a.createElement("br",null),a.createElement("br",null))},t}(a.Component),s=n(8678),m=n(262),d=function(){return a.createElement(s.Z,null,a.createElement(m.Z,{title:"Register | MakeSPP 2022",keywords:["MakeSPP","Saint Peter's Prep","hackathon"]}),a.createElement(c,null))}}}]); 2//# sourceMappingURL=component---src-pages-register-js-455ca5f403022ddb2822.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.