diff --git a/gatsby-config.js b/gatsby-config.js index 00d7e02..a6ae7f8 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -15,7 +15,7 @@ module.exports = { open: true, discord: false, rsvp: true, - schedule: true, + schedule: false, sponsors: false, }, }, diff --git a/src/components/Navigation/index.jsx b/src/components/Navigation/index.jsx index 8c9a93b..e07d84b 100644 --- a/src/components/Navigation/index.jsx +++ b/src/components/Navigation/index.jsx @@ -136,15 +136,15 @@ export default function Navigation({ noNav }) { {site.siteMetadata.featureFlags.mlh && ( Major League Hacking 2023 Hackathon Season diff --git a/src/sections/Application/Demography/index.jsx b/src/sections/Application/Demography/index.jsx index 0b7eb68..742855a 100644 --- a/src/sections/Application/Demography/index.jsx +++ b/src/sections/Application/Demography/index.jsx @@ -22,6 +22,8 @@ export default function Demography() { + + ); diff --git a/src/sections/Application/Form/FormContext.jsx b/src/sections/Application/Form/FormContext.jsx index 221be79..1863ec1 100644 --- a/src/sections/Application/Form/FormContext.jsx +++ b/src/sections/Application/Form/FormContext.jsx @@ -204,7 +204,6 @@ export function FormProvider({ children }) { mlh_share: false, mlh_email: false, htv_consent: false, - htv_vaccination: false, }, }); diff --git a/src/sections/Application/Personal/index.jsx b/src/sections/Application/Personal/index.jsx index 8295ed8..c8f7b26 100644 --- a/src/sections/Application/Personal/index.jsx +++ b/src/sections/Application/Personal/index.jsx @@ -8,6 +8,10 @@ import './Personal.module.scss'; export default function Personal({ userInfo }) { const { formInfo, setFormState } = useForm(); + const validator = (value) => { + return /[0-9]{3}[- ]?[0-9]{3}[- ]?[0-9]{4}/.test(value) + } + useEffect(() => { const [fn, sn, email] = formInfo.questions.slice(0, 3); setFormState(_ => ({ @@ -19,7 +23,7 @@ export default function Personal({ userInfo }) { [email.id]: userInfo.email, }, })); - }, [ formInfo.questions, userInfo, setFormState ]); + }, [formInfo.questions, userInfo, setFormState]); return (
@@ -44,12 +48,13 @@ export default function Personal({ userInfo }) { + + Rate Your Confidence in the Following + + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ ); +} diff --git a/src/sections/Application/index.jsx b/src/sections/Application/index.jsx index cac866d..49bfb44 100644 --- a/src/sections/Application/index.jsx +++ b/src/sections/Application/index.jsx @@ -7,7 +7,7 @@ import Mlh from './Mlh'; import Personal from './Personal'; import School from './School'; import General from './General'; -import Covid from './Covid'; +import SkillConfidence from './SkillConfidence'; import { useGet } from 'restful-react'; export default function ApplicationForm() { @@ -23,8 +23,8 @@ export default function ApplicationForm() { + -