Skip to content

Commit

Permalink
add resume description for hackcamp
Browse files Browse the repository at this point in the history
  • Loading branch information
martincai8 committed Oct 3, 2024
1 parent 487d04e commit e3892eb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/ApplicationQuestions/Portfolio.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import ResumeUploadBtn from '../ResumeUploadBtn'
import { TextInput } from '../Input'
import { ErrorMessage, P, QuestionHeading, ErrorSpan as Required } from '../Typography'
import styled from 'styled-components'
import { useHackathon } from '../../utility/HackathonProvider'

const QuestionForm = styled.form`
display: flex;
Expand Down Expand Up @@ -63,6 +64,8 @@ const FormRow = ({ fieldValue, required, children }) => (
)

const Portfolio = ({ refs, errors, formInputs, onChange, question, handleResume }) => {
const { activeHackathon } = useHackathon()

return (
<QuestionForm>
<FormRow fieldValue="resume" required>
Expand All @@ -77,6 +80,9 @@ const Portfolio = ({ refs, errors, formInputs, onChange, question, handleResume
/>
{errors?.resume && <ErrorMessage>{errors?.resume}</ErrorMessage>}
</FormRow>
{activeHackathon === 'hackcamp' && (
<P>Resumes are collected for the sole purpose of sharing with our sponsors.</P>
)}
<P>Maximum file size of 2MB</P>
<FormRow fieldValue="GitHub/BitBucket/GitLab">
<TextInput
Expand Down

0 comments on commit e3892eb

Please sign in to comment.