-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from citrushack/dev
sync prod<-dev 4/2
- Loading branch information
Showing
44 changed files
with
803 additions
and
617 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ export function FaqAccordion({ question, answer }: Props) { | |
className="flex py-3 items-center hover:text-highlight cursor-pointer" | ||
onClick={() => setOpen(!open)} | ||
> | ||
<h4 className="grow font-bold text-lg text-text">{question}</h4> | ||
<h4 className="grow font-semibold text-lg text-text">{question}</h4> | ||
<div> | ||
<BiX | ||
className={ | ||
|
@@ -117,14 +117,19 @@ const faq = [ | |
{ | ||
question: "My question isn't listed?", | ||
answer: ( | ||
<p className="text-text"> | ||
<> | ||
Feel free to email us at{' '} | ||
<ExternalLink | ||
name="[email protected]" | ||
link="mailto:[email protected]" | ||
/>{' '} | ||
or ask Mika Shanela in-person if you have any more questions. | ||
</p> | ||
or ask{' '} | ||
<ExternalLink | ||
name="Mika Shanela" | ||
link="https://www.linkedin.com/in/mika-shanela/" | ||
/>{' '} | ||
in-person if you have any more questions. | ||
</> | ||
) | ||
} | ||
]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/* eslint-disable @typescript-eslint/no-unused-vars */ | ||
import { UseFormRegister, FieldValues, UseFormWatch } from 'react-hook-form'; | ||
import { useSession } from 'next-auth/react'; | ||
import { Group, Input, Select, Radio, Checkbox } from '../components'; | ||
|
@@ -22,43 +23,27 @@ export function Confirmation({ register, errors, watch }: Props) { | |
return ( | ||
<> | ||
<Group title="Confirm Details"> | ||
{session.user.participation === 'In-Person' && ( | ||
<> | ||
<Radio | ||
label="Are you still participating in-person?" | ||
variable="inperson" | ||
options={inperson} | ||
register={register} | ||
errors={errors} | ||
required | ||
/> | ||
</> | ||
)} | ||
{inperson_confirmation === 'Yes' && ( | ||
<> | ||
<Checkbox | ||
label="Do we have your permission to take pictures that may include you?" | ||
subtext={ | ||
<> | ||
These photos will be posted on our Instagram and other social | ||
media. If you have a problem with this, please contact us at{' '} | ||
<ExternalLink | ||
name="[email protected]" | ||
link="mailto:[email protected]" | ||
/> | ||
. | ||
</> | ||
} | ||
variable="photo_consent" | ||
options={[ | ||
'Yes, I give you permission to take pictures that may include me.' | ||
]} | ||
register={register} | ||
errors={errors} | ||
required | ||
/> | ||
</> | ||
)} | ||
<Checkbox | ||
label="Do we have your permission to take pictures that may include you?" | ||
subtext={ | ||
<> | ||
These photos will be posted on our Instagram and other social | ||
media. If you have a problem with this, please contact us at{' '} | ||
<ExternalLink | ||
name="[email protected]" | ||
link="mailto:[email protected]" | ||
/> | ||
. | ||
</> | ||
} | ||
variable="photo_consent" | ||
options={[ | ||
'Yes, I give you permission to take pictures that may include me.' | ||
]} | ||
register={register} | ||
errors={errors} | ||
required | ||
/> | ||
<Checkbox | ||
label="Have you read the MLH Code of Conduct?" | ||
variable="MLH_code_of_conduct" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.